Subject: Re: [Openvpn-devel] compiling statically - how? From: "James Yonan" Message-ID: In-Reply-To: <20040804231213.GB21349@...33...> References: <411111B9.2000405@...259...>, <411111B9.2000405@...259...> Sender: openvpn-devel-admin@lists.sourceforge.net Errors-To: openvpn-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed Aug 4 22:16:10 2004 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Matthias Andree , Tomasz Chmielewski Cc: openvpn-devel@lists.sourceforge.net 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