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 simply
i686-pc-mingw32-g++ -version without specify the entire path?
otherwise the compiler is not in the path
Il giorno 08/giu/09, alle ore 18:37, address@hidden 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/address@hidden/msg05004.html
that 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.o
cc1plus: error: unrecognized command line option "-mthreads"
cc1plus: error: unrecognized command line option "-mthreads"