Using RTEMS Source Builder in/for MinGW
Kolja Waschk
kawk at ixo.de
Sat Feb 1 14:57:48 UTC 2014
Hi,
I'm trying to build RTEMS tools for Blackfin to be used in Windows with
MinGW. After unsuccessful first attempts to build them in real MinGW
environment (more on that later), I succeeded with RSB on Ubuntu 13.10
using --host=i686-w64-mingw32 and can use the results in real MinGW for
building RTEMS.
There's only one small glitch: the automake is configured to use
threads, but (at least in my MinGW environment) perl in MinGW is not
configured to be used with threads. I have to manually patch
Automake/Config.pm afterwards to have "perl_threads = 0" instead of 1.
How could I automate that, so that Config.pm in the tars built by RSB
already have this change applied? Or should I split the process into
steps -
1. sb-set-builder with --no-install followed by
2. patching Config.pm and
3. another sb-set-builder start with --bset-tar-file?
The build in real MinGW failed at first because during automake build
some directories ("ae2") were not created or not found. I'll have a look
into that later, or are there known big problems that prevent successful
use of RSB in MinGW anyway?
I'm using RSB as of 2013-09-15, currently; and for several reasons, in
my MinGW the default host gcc is an old gcc 4.6. But I doubt that it is
a problem for the automake tool build.
Kolja
More information about the devel
mailing list