Re: [sigc] Compiling libsigc++ on Linux using mingw



Tim,

> make[2]: Entering directory `/home/tim/projects/libsigc++-2.2.8/examples'
> /bin/sh ../libtool  --tag=CXX   --mode=link i686-pc-mingw32-g++ -Wall -g
> -O2   -o hello_world.exe hello_world.o ../sigc++/libsigc-2.0.la 
> libtool: link: i686-pc-mingw32-g++ -Wall -g -O2 -o .libs/hello_world.exe
> hello_world.o  ../sigc++/.libs/libsigc-2.0.a
> hello_world.o: file not recognized: File format not recognized

Run "file ../sigc++/.libs/libsigc-2.0.a". It does not seem to be a Windows executable format, which is why the link is failing.

> Apologies if I seem grumpy or frank, but I've been trying to set up an adequate
> cross compiling environment for almost a fortnight now, and haven't gotten
> very far yet.

Sorry. I don't think a lot of people do that. My understanding is that they build sigc++ natively on Windows, not using a cross-compiler.

But cross-compilers are so passe. Why don't you use a Windows virtual machine instead? (Disclaimer: I'm a long time VMware employee :)

Regards,
-- 
hpreg


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]