wiki:SettingUpGenericBuildsystem

Version 1 (modified by Samuli Seppänen, 11 years ago) (diff)

--

Introduction

You can use the generic buildsystem from openvpn-build subproject to cross-compile OpenVPN using any toolchain to any target environment. The build host must have a *NIX-like environment, e.g. Linux, *BSD or Cygwin (on Windows).

Generic instructions

You need to install a bunch of tools before attempting a build:

Build environment -specific instructions

Setting up Ubuntu 12.04

On Ubuntu 12.04 (64-bit) you the following commands should take care of everything except osslsigncode:

$ apt-get update
$ apt-get install git-core mingw-w64 gcc-4.6-arm-linux-gnueabi man2html dos2unix nsis unzip

Ubuntu 12.10

Windows

If you're building using Cygwin on Windows, it's best to configure Git not to translate LF to CR/LF. For this reason it's probably best to use Cygwin's Git. Also take a look at Cygwin's README to see which packages are required.

Attachments (7)

Download all attachments as: .zip