Re: mingw-targeted cross-compiler question

2010-12-22 Thread Frédéric Bron
> Basically, "stuff from mingw-w64.sf.net" > > The middle piece of the triplet is the vendor tag.  We at mingw-w64 > are the vendors.  We support win32 and win64, for both host and > target.  I admit it's confusing, but we didn't come up with a better > name fast enough. That is really good news.

Re: mingw-targeted cross-compiler question

2010-12-22 Thread Kai Tietz
2010/12/22 : > On Wed, 22 Dec 2010 15:36:01 +0100, Kai Tietz > wrote: > >> 2010/12/22  : >>> >>> On Wed, 22 Dec 2010 15:11:18 +0100, Kai Tietz >>> wrote: >>> 2010/12/22  : > > On Wed, 22 Dec 2010 14:13:15 +0100, Frédéric Bron > > wrote: > > I checked the Make fi

Re: mingw-targeted cross-compiler question

2010-12-22 Thread lemkemch
On Wed, 22 Dec 2010 15:36:01 +0100, Kai Tietz wrote: 2010/12/22 : On Wed, 22 Dec 2010 15:11:18 +0100, Kai Tietz wrote: 2010/12/22 : On Wed, 22 Dec 2010 14:13:15 +0100, Frédéric Bron wrote: I checked the Make file, it used this flag: gcc -mno-cygwin -g -Wl,--add-stdcall-alias -

Re: mingw-targeted cross-compiler question

2010-12-22 Thread NightStrike
On Wed, Dec 22, 2010 at 10:35 AM, Andy Koppe wrote: > On 22 December 2010 15:12, NightStrike wrote: >> 2010/12/22 Frédéric Bron: >> I checked the Make file, it used this flag: >> gcc -mno-cygwin -g -Wl,--add-stdcall-alias -Wl,--export-all-symbols ... > > replace gcc by gcc-3 >

Re: mingw-targeted cross-compiler question

2010-12-22 Thread Andy Koppe
On 22 December 2010 15:12, NightStrike wrote: > 2010/12/22 Frédéric Bron: > I checked the Make file, it used this flag: > gcc -mno-cygwin -g -Wl,--add-stdcall-alias -Wl,--export-all-symbols ... replace gcc by gcc-3 gcc 4 is now the default on cygwin but the cross compiler is

Re: mingw-targeted cross-compiler question

2010-12-22 Thread NightStrike
2010/12/22 Frédéric Bron : I checked the Make file, it used this flag: gcc -mno-cygwin -g -Wl,--add-stdcall-alias -Wl,--export-all-symbols ... >>> >>> replace gcc by gcc-3 >>> gcc 4 is now the default on cygwin but the cross compiler is not >>> supported for that version. >>> Frédéric >>

Re: mingw-targeted cross-compiler question

2010-12-22 Thread Kai Tietz
2010/12/22 : > On Wed, 22 Dec 2010 15:11:18 +0100, Kai Tietz > wrote: > >> 2010/12/22  : >>> >>> On Wed, 22 Dec 2010 14:13:15 +0100, Frédéric Bron >>> wrote: >>> >>> I checked the Make file, it used this flag: >>> gcc -mno-cygwin -g -Wl,--add-stdcall-alias -Wl,--export-all-symbols >>

Re: mingw-targeted cross-compiler question

2010-12-22 Thread lemkemch
On Wed, 22 Dec 2010 15:11:18 +0100, Kai Tietz wrote: 2010/12/22 : On Wed, 22 Dec 2010 14:13:15 +0100, Frédéric Bron wrote: I checked the Make file, it used this flag: gcc -mno-cygwin -g -Wl,--add-stdcall-alias -Wl,--export-all-symbols ... replace gcc by gcc-3 gcc 4 is now the defau

Re: mingw-targeted cross-compiler question

2010-12-22 Thread Kai Tietz
2010/12/22 : > On Wed, 22 Dec 2010 14:13:15 +0100, Frédéric Bron > wrote: > > I checked the Make file, it used this flag: > gcc -mno-cygwin -g -Wl,--add-stdcall-alias -Wl,--export-all-symbols ... replace gcc by gcc-3 gcc 4 is now the default on cygwin but the cross compiler

Re: mingw-targeted cross-compiler question

2010-12-22 Thread lemkemch
On Wed, 22 Dec 2010 14:13:15 +0100, Frédéric Bron wrote: I checked the Make file, it used this flag: gcc -mno-cygwin -g -Wl,--add-stdcall-alias -Wl,--export-all-symbols ... replace gcc by gcc-3 gcc 4 is now the default on cygwin but the cross compiler is not supported for that version. Fr

Re: mingw-targeted cross-compiler question

2010-12-22 Thread Frédéric Bron
>>> I checked the Make file, it used this flag: >>> gcc -mno-cygwin -g -Wl,--add-stdcall-alias -Wl,--export-all-symbols ... >> >> replace gcc by gcc-3 >> gcc 4 is now the default on cygwin but the cross compiler is not >> supported for that version. >> Frédéric > > What do you mean by not supported

Re: mingw-targeted cross-compiler question

2010-12-16 Thread Charles Wilson
On 12/16/2010 7:55 AM, NightStrike wrote: > 2010/12/16 Frédéric Bron <...>: >>> I checked the Make file, it used this flag: >>> gcc -mno-cygwin -g -Wl,--add-stdcall-alias -Wl,--export-all-symbols ... >> >> replace gcc by gcc-3 >> gcc 4 is now the default on cygwin but the cross compiler is not >> s

Re: mingw-targeted cross-compiler question

2010-12-16 Thread NightStrike
2010/12/16 Frédéric Bron : >> I checked the Make file, it used this flag: >> gcc -mno-cygwin -g -Wl,--add-stdcall-alias -Wl,--export-all-symbols ... > > replace gcc by gcc-3 > gcc 4 is now the default on cygwin but the cross compiler is not > supported for that version. > Frédéric What do you mean

Re: mingw-targeted cross-compiler question

2010-12-15 Thread Frédéric Bron
> I checked the Make file, it used this flag: > gcc -mno-cygwin -g -Wl,--add-stdcall-alias -Wl,--export-all-symbols ... replace gcc by gcc-3 gcc 4 is now the default on cygwin but the cross compiler is not supported for that version. Frédéric -- Problem reports: http://cygwin.com/problems.h

Re: mingw-targeted cross-compiler question

2010-12-15 Thread Chiheng Xu
> > make JAVA_HOME="C:\Program Files\Java\jdk1.5.0_22" > > or > > JAVA_HOME="C:\Program Files\Java\jdk1.5.0_22" > export JAVA_HOME > make correction: JAVA_HOME='C:\Program Files\Java\jdk1.5.0_22' JAVA_HOME=`cygpath -m ${JAVA_HOME}` export JAVA_HOME make CC=x86_64-w64-mingw32-gcc -- Chiheng

Re: mingw-targeted cross-compiler question

2010-12-15 Thread Chiheng Xu
On Thu, Dec 16, 2010 at 6:03 AM, gviewer wrote: > > Yes, That problem got solved. But now I got a new problem: > "fatal error, jni.h, no such file or directory" > > The jni.h is included in a .h c file. > > What's going on? > > make JAVA_HOME="C:\Program Files\Java\jdk1.5.0_22" or JAVA_HOME="C:

Re: mingw-targeted cross-compiler question

2010-12-15 Thread gviewer
t; Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > > -- View this message in context: http://old.nabble.com/mingw-targeted-cross-compiler-question-tp30467239p30468379.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports:

Re: mingw-targeted cross-compiler question

2010-12-15 Thread NightStrike
On Wed, Dec 15, 2010 at 4:10 PM, gviewer wrote: > > Thanks for explanation.  I checked the Make file, and here it is: > > CFLAGS = -O3 -Wimplicit > ... > gcc -mno-cygwin -g -Wl,--add-stdcall-alias -Wl,--export-all-symbols > ${BRILL_INCLUDES} -I ${JAVA_HOME}/include/ -I ${JAVA_HOME}/include/win32 >

Re: mingw-targeted cross-compiler question

2010-12-15 Thread gviewer
em reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > > -- View this message in context: http://old.nabble.com

Re: mingw-targeted cross-compiler question

2010-12-15 Thread NightStrike
On Wed, Dec 15, 2010 at 3:50 PM, gviewer wrote: > > My cygwin may already install that package, then how to modify the flag in > Makefile to compile. That depends on the makefile. Usually, there's a user-settable variable called CFLAGS that you can use to customize things. But basically, with t

Re: mingw-targeted cross-compiler question

2010-12-15 Thread gviewer
http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > > -- View this message in context: http://old.nabble.com/mingw-targeted-

Re: mingw-targeted cross-compiler question

2010-12-15 Thread NightStrike
On Wed, Dec 15, 2010 at 2:41 PM, gviewer wrote: > > Hello, I downloaded a software and tried to compile it on cygwin, I got an > error message: > > "gcc: The -mno-cygwin flag has been removed; use a mingw-targeted > cross-compiler." > > I checked the Make file, it used this flag: > gcc -mno-cygwin

mingw-targeted cross-compiler question

2010-12-15 Thread gviewer
... What should I use exactly to replace the '-mno-cygwin' flag? Thanks a lot. -- View this message in context: http://old.nabble.com/mingw-targeted-cross-compiler-question-tp30467239p30467239.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: