mendez
Mon, 08 Jun 2009 11:41:17 -0700
Ah!, I see now. I thought that i686-pc-mingw32-g++ was a compiler flag and not a different compiler.
It seems indeed that I dont have the cross compiling capabilities of mingw packages installed as they are only provided for Fedora and not for Ubuntu.
Thanks a lot for the hint!,
Erick
Quoting Andrea Palmatè <and...@amigasoft.net>:
sorry, but if you are cross compiling you cannot have g++ as compiler. are you sure that --host is accepted?g++ is calling your Linux compiler that, of course, doesnt' support -mthreads.Your libtools should have:bin/bash ../libtool --tag=CXX --mode=compile i686-pc-mingw32-g++ -DHAVE_CONFIG_H -I. -I.. -but you have only g++ can you print a simplyi686-pc-mingw32-g++ -version without specify the entire path? otherwise the compiler is not in the pathIl giorno 08/giu/09, alle ore 18:37, men...@icg.tugraz.at ha scritto:Hi Andrea, thanks for the swift reply. The configure seems to be fine. Although I did notice something funny.It checks whether this is a cross compilation and if so it sets the pthread_flags to "none". However, immediately afterwards it checks the host_os and if it is indeed mingw then it sets it to "-mthreads". The actual error message is at the end of this email (during make).According to the synaptic package I have the newest version of the g++.I was trying on Cygwin but I stopped because I found the following thread here on this list:http://www.mail-archive.com/gnash-...@gnu.org/msg05004.htmlthat states that Cygwin has not been used for building gnash. But maybe I shouldnt have give up and I should give it one more try.Error message follows: make[2]: Entering directory `/home/mendez/Sandbox/Gnash/trunk/libbase'/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DPLUGINSDIR=\"/usr/local/lib/gnash/plugins\" -DSYSCONFDIR=\"/usr/local/etc\" -I../libnet -I../libamf -I../libcore -I../libcore/swf -mthreads -g -O2 -mthreads -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -MT libgnashbase_la-extension.lo -MD -MP -MF .deps/libgnashbase_la-extension.Tpo -c -o libgnashbase_la-extension.lo `test -f 'extension.cpp' || echo './'`extension.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DPLUGINSDIR=\"/usr/local/lib/gnash/plugins\" -DSYSCONFDIR=\"/usr/local/etc\" -I../libnet -I../libamf -I../libcore -I../libcore/swf -mthreads -g -O2 -mthreads -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -MT libgnashbase_la-extension.lo -MD -MP -MF .deps/libgnashbase_la-extension.Tpo -c extension.cpp -o libgnashbase_la-extension.occ1plus: error: unrecognized command line option "-mthreads" cc1plus: error: unrecognized command line option "-mthreads"