This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [patch/rebase]: Makefile support for cross-builds and static linking with gcc-4
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-apps at cygwin dot com
- Date: Mon, 20 Jun 2011 16:04:18 -0500
- Subject: Re: [patch/rebase]: Makefile support for cross-builds and static linking with gcc-4
- References: <20110620152917.GD3437@calimero.vinschen.de>
On Mon, 2011-06-20 at 17:29 +0200, Corinna Vinschen wrote:
> This patch changes Makefile to use $(EXEEXT) throughout to better support
> cross building.
You'll still need to override CC/CXX for cross-compiling.
> It also adds explicit static linking to avoid to link against
> cyggcc_s-1.dll and cygstdc++-6.dll.
Just "-static" is enough.
Yaakov