[patch/rebase]: Makefile support for cross-builds and static linking with gcc-4

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Mon Jun 20 21:04:00 GMT 2011


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




More information about the Cygwin-apps mailing list