RTEMS Source Builder build error

Rui Zhengxin ruizx at qq.com
Fri Aug 30 09:25:08 UTC 2013


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. 

The build process in Cygwin is too long.
>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

It seems that the cross compiler is not build by Cygwin or MinGW32, may by a Linux PC.
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 -I/home/ruizx/mpc8309/rtems/rtems-builder/rtems-source-builder/rtems/build/tmp/sb-ruizx/4.11/rtems-powerpc/home/ruizx/development/rtems/4.11/include -L/home/ruizx/mpc8309/rtems/rtems-builder/rtems-source-builder/rtems/build/tmp/sb-ruizx/4.11/rtems-powerpc/home/ruizx/development/rtems/4.11/lib
checking whether the C compiler works... no
configure: error: in `/home/ruizx/mpc8309/rtems/rtems-builder/rtems-source-builder/rtems/build/expat-2.1.0-i686-pc-mingw32-1/expat-2.1.0-i686-pc-mingw32-1-2.1.0/expat-2.1.0':
configure: error: C compiler cannot create executables

How to use Centos instead of Cygwin to build the cross compiler runing on MinGW?

Thanks,
Rui Zhengxin




More information about the users mailing list