This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]