RTEMS Source Builder build error
ruizx at qq.com
Mon Sep 2 02:23:49 UTC 2013
I'm using the Centos to build it now, that's very very quicker than Cygwin.
I download the mingw-w64 compiler from this site:
On Saturday, August 31, 2013 10:17 AM Chris Johns wrote:
> Rui Zhengxin wrote:
>> Hi Chris,
>> I find if I run the sb-set-builder command with the option "--build=i686-pc-cygwin",
>> the issue not occur.
>> If not set this option, the default value is --build=i686-pc-mingw32.
> This seems to be correct. I am not sure why I did this. I suppose I felt
> no one would want to use cygwin native binaries when you can have native
> windows binaries. If this is wrong I am happy to remove and have cygwin
> build cygwin executables.
>> The build process in Cygwin is too long.
> Yes it is. This is the overhead of the cygwin POSIX emulation. As stated
> before the number sh execs adds up.
>> From the MinGW preinstalled cross compiler set, I find that the powerpc-rtems4.11-gcc configuration is
>> --build=i386-pc-linux-gnu --host=i686-pc-mingw32
> My tools are built on FreeBSD and not Linux. I am not sure which tools
> you are referencing.
>> It seems that the cross compiler is not build by Cygwin or MinGW32, may by a Linux PC.
> RSB built binaries Alan mentioned are built on FreeBSD.
>> I try to run sb-set-builder on my Centos with the option "--host=i686-pc-mingw32",
>> but this error occurs,
>> checking for i686-pc-mingw32-gcc... i686-pc-mingw32-gcc -O2 -pipe
>> checking whether the C compiler works... no
>> configure: error: in
>> configure: error: C compiler cannot create executables
>> How to use Centos instead of Cygwin to build the cross compiler runing on MinGW?
> I reviewed the documentation and there is nothing on doing this so I
> have updated the documentation here ...
> I hope this will help.
More information about the users