« Return to Thread: Mingw cross compilation

Re: Mingw cross compilation

by James Choa :: Rate this Message:

Reply to Author | View in Thread

James Choa wrote:

>> Hi James,
>>
>> I managed to cross-compile static release builds of serialization,
>> filesystem, system, date_time, and program_options from boost 1.35.0
>> with i386-mingw32 gcc 4.3.0 (http://mingw-cross.sourceforge.net/)
>> under Fedora 8 using a three-step procedure:
>> - create a user-config.jam file with content:
>>       using gcc : : i386-mingw32-gcc : ;
>> - run bjam (assuming you have compiled it already):
>>     bjam --user-config=user-config.jam --toolset=gcc link=static
>> release ...
>> - manually run i386-mingw32-ranlib on the generated libraries
>>
>> There might be a better way to do this, but at least the above worked
>> for me.
>
>> /Mikko
>
> Thanks! I'll give it a try
>
>
Thanks for the help, I got it to compile :)
_______________________________________________
Boost-users mailing list
Boost-users@...
http://lists.boost.org/mailman/listinfo.cgi/boost-users

 « Return to Thread: Mingw cross compilation