RTEMS Toolchain building failed for ARM

Chris Johns chrisj at rtems.org
Wed Feb 7 03:34:33 UTC 2018


On 01/02/2018 14:10, zhang heng wrote:
> + ./configure --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --verbose
> --prefix=/H/Project/rtems/4.11 --bindir=/H/Project/rtems/4.11/bin
> --exec-prefix=/H/Project/rtems/4.11 --includedir=/H/Project/rtems/4.11/include
> --libdir=/H/Project/rtems/4.11/lib --mandir=/H/Project/rtems/4.11/share/man
> --infodir=/H/Project/rtems/4.11/share/info
> configure: loading site script F:/Program Files (x86)/msys2/mingw64/etc/config.site
> checking build system type... x86_64-w64-mingw32
> checking host system type... x86_64-w64-mingw32
> checking for x86_64-w64-mingw32-as... no
> checking for as... as
> checking for x86_64-w64-mingw32-dlltool... no
> checking for dlltool... dlltool
> checking for x86_64-w64-mingw32-objdump... no
> checking for objdump... objdump
> checking how to print strings... printf
> checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc -O2 -pipe
> -I/H/project/rtems/rsb/rtems/build/tmp/sb-heng/4.11/rtems-arm/H/Project/rtems/4.11/include
> checking whether the C compiler works... no
> configure: error: in `/H/project/rtems/rsb/rtems/build/e2xwm1/expat-2.1.0':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
> shell cmd failed: sh -ex  /H/project/rtems/rsb/rtems/build/e2xwm1/doit
> error: building e2xwm1
> 

Do you have a C compiler installed?

The user manual has a section on the packages you need:

https://docs.rtems.org/branches/master/user/hosts/windows.html#installing-msys2

Chris


More information about the users mailing list