Skip to content
Prev 22719 / 63424 Next

Cross-compilation

You might be better off using the same g++ as distributed and found on 
Prof Ripley's web site, rather than the newer 4.x:

$ /home/hin-tak/mingw-cross/bin/i586-mingw32-c++  --version
i586-mingw32-c++ (GCC) 3.4.5 (mingw special)
...

Name-mangling and C++ ABI had changed between gcc 3.x and 4.x, so 
compiling c++ programs might be different.

It had worked out-of-the-box for me when I was using fedora 5 x86_64
(I just upgraded to fedora 6 yesterday, and I haven't tried doing
any cross-compiling yet). So fc4 probably should work.

HTH,
Hin-Tak Leung
Tom McCallum wrote: