Re: [Openvpn-devel] compiling statically - how?

2004-08-04 Thread James Yonan
Matthias Andree  said:

> On Wed, 04 Aug 2004, Tomasz Chmielewski wrote:
> 
> > I was thinking of an option like ./configure --compile-statically - and 
> > with such compiled binary, I wouldn't have to install compilers, compile 
> > OpenVPN, deinstall compilers on every machine I want it to run.
> 
> My first attempt would probably be ./configure CC="gcc -static" - it's
> untested and may require the installation of static libraries on some
> systems.

I've had success with 'gcc -static' when static libraries are present, as they
are by default on Gentoo Linux.

James




Re: [Openvpn-devel] compiling statically - how?

2004-08-04 Thread Matthias Andree
On Wed, 04 Aug 2004, Tomasz Chmielewski wrote:

> I was thinking of an option like ./configure --compile-statically - and 
> with such compiled binary, I wouldn't have to install compilers, compile 
> OpenVPN, deinstall compilers on every machine I want it to run.

My first attempt would probably be ./configure CC="gcc -static" - it's
untested and may require the installation of static libraries on some
systems.

-- 
Matthias Andree

Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)