RTEMS Toolchain building failed for ARM

Chris Johns chrisj at rtems.org
Mon Feb 12 01:10:12 UTC 2018


On 9/2/18 5:42 pm, zhang heng wrote:
> 
> Dear,
> 
>     heng at heng-PC MINGW64 /h/Project/rtems/rsb/rtems
> 
> $ pacman -Q  mingw-w64-x86_64-gcc
> mingw-w64-x86_64-gcc 6.2.0-2
> 
>     heng at heng-PC MINGW64 /h/Project/rtems/rsb/rtems
> 
> $ gcc  -v

That is the MSYS2 compiler and is not the compiler we use to build the tools.

You need to try x86_64-w64-mingw32-gcc as taken from below...

> Using built-in specs.
> COLLECT_GCC=F:\Program Files (x86)\msys2\mingw64\bin\gcc.exe
> COLLECT_LTO_WRAPPER=F:/Program\ Files\
> (x86)/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/6.2.0/lto-wrapper.exe
> Target: x86_64-w64-mingw32
> Configured with: ../gcc-6.2.0/configure --prefix=/mingw64
> --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32
> --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32
> --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include
> --libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64
> --with-tune=generic --enable-languages=c,lto,c++,objc,obj-c++,fortran,ada
> --enable-shared --enable-static --enable-libatomic --enable-threads=posix
> --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-time=yes
> --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-isl-version-check
> --enable-lto --enable-libgomp --disable-multilib --enable-checking=release
> --disable-rpath --disable-win32-registry --disable-nls --disable-werror
> --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/mingw64
> --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64
> --with-pkgversion='Rev2, Built by MSYS2 project'
> --with-bugurl=https://sourceforge.net/projects/msys2 --with-gnu-as --with-gnu-ld
> Thread model: posix
> gcc version 6.2.0 (Rev2, Built by MSYS2 project)
> 
> So I  am sure that the GCC have installed according to the above information.
> but the error still exist.

Wrong gcc. On Windows there are 2 which can be confusing. We want the one that
creates native Windows executables.

> 
> 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
^^^^^^^^ This is the compiler name being looked for and is not working.

Chris

> -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
> 
> Thanks,
> zhang heng
> 
> 发自网易邮箱大师
> On 2/1/2018 11:10,zhang heng<byone.heng at outlook.com>
> <mailto:byone.heng at outlook.com> wrote:
> 
>     Dear All,
> 
>       I am attempting to build the RTEMS tool set according to RTEMS User Manual
>     and Windows Host Tool Chain on windows10, but I meet with some troubles.
> 
>       I have done the following commands,
> 
>      
> 
>          $ ../source-builder/sb-check
> 
>        RTEMS Source Builder - Check, 4.11 *(*01ac76f2f90f*)*
> 
>     *   *Environment is ok
> 
>      
> 
>     but it generates an error when I execute such command:
> 
>      
> 
>     $ ../source-builder/sb-set-builder --prefix=/h/Project/rtems/4.11
>     --jobs=none 4.11/rtems-arm
> 
>     RTEMS Source Builder - Set Builder, 4.11 (4a87913b1451 modified)
> 
>     Build Set: 4.11/rtems-arm
> 
>     Build Set: 4.11/rtems-autotools.bset
> 
>     Build Set: 4.11/rtems-autotools-internal.bset
> 
>     config: tools/rtems-autoconf-2.69-1.cfg
> 
>     package: autoconf-2.69-x86_64-w64-mingw32-1
> 
>     building: autoconf-2.69-x86_64-w64-mingw32-1
> 
>     config: tools/rtems-automake-1.12.6-1.cfg
> 
>     package: automake-1.12.6-x86_64-w64-mingw32-1
> 
>     building: automake-1.12.6-x86_64-w64-mingw32-1
> 
>     cleaning: autoconf-2.69-x86_64-w64-mingw32-1
> 
>     cleaning: automake-1.12.6-x86_64-w64-mingw32-1
> 
>     Build Set: Time 0:06:46.911569
> 
>     Build Set: 4.11/rtems-autotools-base.bset
> 
>     config: tools/rtems-autoconf-2.69-1.cfg
> 
>     package: autoconf-2.69-x86_64-w64-mingw32-1
> 
>     building: autoconf-2.69-x86_64-w64-mingw32-1
> 
>     reporting: tools/rtems-autoconf-2.69-1.cfg ->
>     autoconf-2.69-x86_64-w64-mingw32-1.txt
> 
>     reporting: tools/rtems-autoconf-2.69-1.cfg ->
>     autoconf-2.69-x86_64-w64-mingw32-1.xml
> 
>     config: tools/rtems-automake-1.12.6-1.cfg
> 
>     package: automake-1.12.6-x86_64-w64-mingw32-1
> 
>     building: automake-1.12.6-x86_64-w64-mingw32-1
> 
>     reporting: tools/rtems-automake-1.12.6-1.cfg ->
>     automake-1.12.6-x86_64-w64-mingw32-1.txt
> 
>     reporting: tools/rtems-automake-1.12.6-1.cfg ->
>     automake-1.12.6-x86_64-w64-mingw32-1.xml
> 
>     installing: autoconf-2.69-x86_64-w64-mingw32-1 -> H:\Project\rtems\4.11
> 
>     installing: automake-1.12.6-x86_64-w64-mingw32-1 -> H:\Project\rtems\4.11
> 
>     cleaning: autoconf-2.69-x86_64-w64-mingw32-1
> 
>     cleaning: automake-1.12.6-x86_64-w64-mingw32-1
> 
>     Build Set: Time 0:06:58.049423
> 
>     Build Set: Time 0:13:44.968990
> 
>     config: devel/expat-2.1.0-1.cfg
> 
>     package: expat-2.1.0-x86_64-w64-mingw32-1
> 
>     building: expat-2.1.0-x86_64-w64-mingw32-1
> 
>     error: building e2xwm1
> 
>     Build FAILED
> 
>       See error report: rsb-report-expat-2.1.0-x86_64-w64-mingw32-1.txt
> 
>     error: building e2xwm1
> 
>     Build Set: Time 0:14:13.561418
> 
>     Build FAILED
> 
>      
> 
>     The following is the content of
>      rsb-report-expat-2.1.0-x86_64-w64-mingw32-1.txt:
> 
>      
> 
>      RTEMS Tools Project - Source Builder Error Report
> 
>      Build: error: building e2xwm1
> 
>      Command Line: ../source-builder/sb-set-builder
>     --prefix=H:/Project/rtems/4.11 --jobs=none 4.11/rtems-arm
> 
>      Python: 2.7.12 (default, Sep 24 2016, 09:15:29)  [GCC 6.2.0 64 bit (AMD64)]
> 
>      git://git.rtems.org/rtems-source-builder.git/origin/4a87913b1451b4f0d56864ce6824bb2b4747353c-modified
>     <http://git.rtems.org/rtems-source-builder.git/origin/4a87913b1451b4f0d56864ce6824bb2b4747353c-modified>
> 
>      Windows
> 
>     Tail of the build log:
> 
>     x -rwxrwxr-x  0 karl   karl     1990 Sep 30  2004 expat-2.1.0/expat.dsw
> 
>     x drwxrwxr-x  0 karl   karl        0 Mar 25  2012 expat-2.1.0/conftools/
> 
>     x -rwxrwxr-x  0 karl   karl     2480 Apr  8  2006
>     expat-2.1.0/conftools/PrintPath
> 
>     x -rwxrwxr-x  0 karl   karl      726 Sep 19  2000
>     expat-2.1.0/conftools/mkinstalldirs
> 
>     x -rw-rw-r--  0 karl   karl     1442 Jan 19  2009 expat-2.1.0/conftools/expat.m4
> 
>     x -rwxr-xr-x  0 karl   karl    35206 Mar 25  2012
>     expat-2.1.0/conftools/config.sub
> 
>     x -rwxr-xr-x  0 karl   karl    13663 Mar 25  2012
>     expat-2.1.0/conftools/install-sh
> 
>     x -rwxr-xr-x  0 karl   karl   282967 Mar 25  2012
>     expat-2.1.0/conftools/ltmain.sh
> 
>     x -rw-rw-r--  0 karl   karl     2964 Oct  2  2001
>     expat-2.1.0/conftools/ac_c_bigendian_cross.m4
> 
>     x -rwxr-xr-x  0 karl   karl    44504 Mar 25  2012
>     expat-2.1.0/conftools/config.guess
> 
>     x -rwxrwxr-x  0 karl   karl     1266 May 18  2002
>     expat-2.1.0/conftools/get-version.sh
> 
>     x -rw-rw-r--  0 karl   karl     5790 Mar 11  2012 expat-2.1.0/README
> 
>     x drwxrwxr-x  0 karl   karl        0 Mar 25  2012 expat-2.1.0/examples/
> 
>     x -rw-rw-r--  0 karl   karl     2415 Jun  3  2007 expat-2.1.0/examples/outline.c
> 
>     x -rw-rw-r--  0 karl   karl     1617 Jun  3  2007
>     expat-2.1.0/examples/elements.c
> 
>     x -rw-rw-r--  0 karl   karl     3556 Feb 21  2012
>     expat-2.1.0/examples/elements.dsp
> 
>     x -rw-rw-r--  0 karl   karl     3504 Feb 21  2012
>     expat-2.1.0/examples/outline.dsp
> 
>     x drwxrwxr-x  0 karl   karl        0 Mar 25  2012 expat-2.1.0/bcb5/
> 
>     x -rw-rw-r--  0 karl   karl     4822 Dec  7  2002
>     expat-2.1.0/bcb5/expat_static.mak
> 
>     x -rw-rw-r--  0 karl   karl     5044 Dec  7  2002 expat-2.1.0/bcb5/outline.mak
> 
>     x -rw-rw-r--  0 karl   karl      247 Dec  7  2002 expat-2.1.0/bcb5/xmlwf.bpf
> 
>     x -rw-rw-r--  0 karl   karl     1606 Dec  7  2002
>     expat-2.1.0/bcb5/all_projects.bpg
> 
>     x -rw-rw-r--  0 karl   karl     5173 Oct 24  2003 expat-2.1.0/bcb5/expatw.mak
> 
>     x -rw-rw-r--  0 karl   karl     5140 Oct 24  2003 expat-2.1.0/bcb5/expat.mak
> 
>     x -rw-rw-r--  0 karl   karl     3783 Dec  7  2002 expat-2.1.0/bcb5/xmlwf.bpr
> 
>     x -rw-rw-r--  0 karl   karl     5495 Jan  8  2004
>     expat-2.1.0/bcb5/libexpatw_mtd.def
> 
>     x -rw-rw-r--  0 karl   karl      216 Dec  8  2002 expat-2.1.0/bcb5/expatw.bpf
> 
>     x -rw-rw-r--  0 karl   karl      534 Jan 17  2003 expat-2.1.0/bcb5/makefile.mak
> 
>     x -rw-rw-r--  0 karl   karl     3463 Dec  7  2002 expat-2.1.0/bcb5/outline.bpr
> 
>     x -rw-rw-r--  0 karl   karl     4427 Dec 10  2002 expat-2.1.0/bcb5/expatw.bpr
> 
>     x -rw-rw-r--  0 karl   karl      215 Dec  8  2002 expat-2.1.0/bcb5/expat.bpf
> 
>     x -rw-rw-r--  0 karl   karl      553 Dec 10  2002 expat-2.1.0/bcb5/setup.bat
> 
>     x -rw-rw-r--  0 karl   karl      153 Dec  7  2002 expat-2.1.0/bcb5/outline.bpf
> 
>     x -rw-rw-r--  0 karl   karl     4576 Dec  7  2002 expat-2.1.0/bcb5/elements.bpr
> 
>     x -rw-rw-r--  0 karl   karl     5078 Dec  7  2002 expat-2.1.0/bcb5/elements.mak
> 
>     x -rw-rw-r--  0 karl   karl      155 Dec  7  2002 expat-2.1.0/bcb5/elements.bpf
> 
>     x -rw-rw-r--  0 karl   karl     4301 Oct 24  2003 expat-2.1.0/bcb5/README.txt
> 
>     x -rw-rw-r--  0 karl   karl      181 Dec  7  2002
>     expat-2.1.0/bcb5/expat_static.bpf
> 
>     x -rw-rw-r--  0 karl   karl     4855 Dec 10  2002
>     expat-2.1.0/bcb5/expatw_static.mak
> 
>     x -rw-rw-r--  0 karl   karl      181 Dec  7  2002
>     expat-2.1.0/bcb5/expatw_static.bpf
> 
>     x -rw-rw-r--  0 karl   karl     5495 Jan  8  2004
>     expat-2.1.0/bcb5/libexpat_mtd.def
> 
>     x -rw-rw-r--  0 karl   karl     3601 Dec  7  2002
>     expat-2.1.0/bcb5/expat_static.bpr
> 
>     x -rw-rw-r--  0 karl   karl     4535 Dec 10  2002
>     expat-2.1.0/bcb5/expatw_static.bpr
> 
>     x -rw-rw-r--  0 karl   karl     4039 Dec  8  2002 expat-2.1.0/bcb5/expat.bpr
> 
>     x -rw-rw-r--  0 karl   karl     5145 Dec  7  2002 expat-2.1.0/bcb5/xmlwf.mak
> 
>     x drwxrwxr-x  0 karl   karl        0 Mar 25  2012 expat-2.1.0/m4/
> 
>     x -rw-r--r--  0 karl   karl    11950 Mar 25  2012 expat-2.1.0/m4/ltoptions.m4
> 
>     x -rw-r--r--  0 karl   karl     6126 Mar 25  2012 expat-2.1.0/m4/lt~obsolete.m4
> 
>     x -rw-r--r--  0 karl   karl   281744 Mar 25  2012 expat-2.1.0/m4/libtool.m4
> 
>     x -rw-r--r--  0 karl   karl     4372 Mar 25  2012 expat-2.1.0/m4/ltsugar.m4
> 
>     x -rw-r--r--  0 karl   karl      686 Mar 25  2012 expat-2.1.0/m4/ltversion.m4
> 
>     x -rwxrwxr-x  0 karl   karl     1512 Mar  5  2012
>     expat-2.1.0/ConfigureChecks.cmake
> 
>     x -rw-rw-r--  0 karl   karl    11379 Mar 25  2012 expat-2.1.0/Changes
> 
>     x drwxrwxr-x  0 karl   karl        0 Mar 25  2012 expat-2.1.0/amiga/
> 
>     x -rwxrwxr-x  0 karl   karl     6737 Aug  8  2009
>     expat-2.1.0/amiga/expat_68k_handler_stubs.c
> 
>     x -rw-rw-r--  0 karl   karl     1395 Aug  8  2009 expat-2.1.0/amiga/expat_base.h
> 
>     x drwxrwxr-x  0 karl   karl        0 Mar 25  2012 expat-2.1.0/amiga/include/
> 
>     x drwxrwxr-x  0 karl   karl        0 Mar 25  2012
>     expat-2.1.0/amiga/include/libraries/
> 
>     x -rw-rw-r--  0 karl   karl    16516 Jun  3  2007
>     expat-2.1.0/amiga/include/libraries/expat.h
> 
>     x drwxrwxr-x  0 karl   karl        0 Mar 25  2012
>     expat-2.1.0/amiga/include/interfaces/
> 
>     x -rw-rw-r--  0 karl   karl     7930 Dec 24  2005
>     expat-2.1.0/amiga/include/interfaces/expat.h
> 
>     x drwxrwxr-x  0 karl   karl        0 Mar 25  2012
>     expat-2.1.0/amiga/include/proto/
> 
>     x -rw-rw-r--  0 karl   karl     1335 Jun  3  2007
>     expat-2.1.0/amiga/include/proto/expat.h
> 
>     x drwxrwxr-x  0 karl   karl        0 Mar 25  2012
>     expat-2.1.0/amiga/include/inline4/
> 
>     x -rw-rw-r--  0 karl   karl     6557 Dec 24  2005
>     expat-2.1.0/amiga/include/inline4/expat.h
> 
>     x -rw-rw-r--  0 karl   karl    42000 Aug  8  2009 expat-2.1.0/amiga/expat_68k.c
> 
>     x -rw-rw-r--  0 karl   karl    21979 Feb  1  2009
>     expat-2.1.0/amiga/expat_vectors.c
> 
>     x -rwxrwxr-x  0 karl   karl     4133 Aug  8  2009 expat-2.1.0/amiga/expat_68k.h
> 
>     x -rw-rw-r--  0 karl   karl    10427 Aug  8  2009 expat-2.1.0/amiga/Makefile
> 
>     x -rw-rw-r--  0 karl   karl     3136 Aug  8  2009 expat-2.1.0/amiga/README.txt
> 
>     x -rwxrwxr-x  0 karl   karl     1744 Aug  8  2009 expat-2.1.0/amiga/launch.c
> 
>     x -rw-rw-r--  0 karl   karl    10742 Dec 24  2005 expat-2.1.0/amiga/expat.xml
> 
>     x -rwxrwxr-x  0 karl   karl     5839 Aug  8  2009 expat-2.1.0/amiga/expat_lib.c
> 
>     x -rwxrwxr-x  0 karl   karl   565580 Mar 25  2012 expat-2.1.0/configure
> 
>     x drwxrwxr-x  0 karl   karl        0 Mar 25  2012 expat-2.1.0/doc/
> 
>     x -rw-rw-r--  0 karl   karl    94947 Mar 11  2012 expat-2.1.0/doc/reference.html
> 
>     x -rw-rw-r--  0 karl   karl     2368 Jun  5  2007
>     expat-2.1.0/doc/valid-xhtml10.png
> 
>     x -rw-rw-r--  0 karl   karl     1027 Jun  5  2007 expat-2.1.0/doc/expat.png
> 
>     x -rw-rw-r--  0 karl   karl     1340 Jul 23  2004 expat-2.1.0/doc/style.css
> 
>     x -rw-rw-r--  0 karl   karl     7895 Apr 30  2007 expat-2.1.0/doc/xmlwf.1
> 
>     x -rw-rw-r--  0 karl   karl    13690 Jan 19  2009 expat-2.1.0/doc/xmlwf.sgml
> 
>     x -rw-rw-r--  0 karl   karl      231 Jan 19  2009 expat-2.1.0/expat.pc.in
>     <http://expat.pc.in/>
> 
>     x drwxrwxr-x  0 karl   karl        0 Mar 25  2012 expat-2.1.0/win32/
> 
>     x -rw-rw-r--  0 karl   karl     1195 May  3  2007 expat-2.1.0/win32/MANIFEST.txt
> 
>     x -rw-rw-r--  0 karl   karl     2804 Mar  4  2012 expat-2.1.0/win32/README.txt
> 
>     x -rw-rw-r--  0 karl   karl     4337 Mar  4  2012 expat-2.1.0/win32/expat.iss
> 
>     x drwxrwxr-x  0 karl   karl        0 Mar 25  2012 expat-2.1.0/tests/
> 
>     x -rw-rw-r--  0 karl   karl    49164 Mar  4  2012 expat-2.1.0/tests/runtests.c
> 
>     x -rw-rw-r--  0 karl   karl     3038 Apr 30  2004 expat-2.1.0/tests/chardata.c
> 
>     x -rwxrwxr-x  0 karl   karl     3557 Aug  4  2008 expat-2.1.0/tests/xmltest.sh
> 
>     x -rw-rw-r--  0 karl   karl     2336 Feb 21  2012 expat-2.1.0/tests/minicheck.h
> 
>     x -rw-rw-r--  0 karl   karl      185 Jan 28  2005
>     expat-2.1.0/tests/runtestspp.cpp
> 
>     x -rw-rw-r--  0 karl   karl      570 Feb 26  2012 expat-2.1.0/tests/README.txt
> 
>     x drwxrwxr-x  0 karl   karl        0 Mar 25  2012 expat-2.1.0/tests/benchmark/
> 
>     x -rw-rw-r--  0 karl   karl      820 Sep 30  2004
>     expat-2.1.0/tests/benchmark/benchmark.dsw
> 
>     x -rw-rw-r--  0 karl   karl     2999 Feb 21  2012
>     expat-2.1.0/tests/benchmark/benchmark.dsp
> 
>     x -rw-rw-r--  0 karl   karl      546 Jan  2  2006
>     expat-2.1.0/tests/benchmark/README.txt
> 
>     x -rw-rw-r--  0 karl   karl     2798 Jun  3  2007
>     expat-2.1.0/tests/benchmark/benchmark.c
> 
>     x -rw-rw-r--  0 karl   karl      791 Sep 30  2004 expat-2.1.0/tests/chardata.h
> 
>     x -rw-rw-r--  0 karl   karl     4219 Jul  1  2006 expat-2.1.0/tests/minicheck.c
> 
>     x -rwxrwxr-x  0 karl   karl     2735 Mar  5  2012
>     expat-2.1.0/expat_config.h.cmake
> 
>     x -rwxrwxr-x  0 karl   karl     1768 Mar  5  2012 expat-2.1.0/CMake.README
> 
>     x -rw-rw-r--  0 karl   karl     2518 Mar  5  2012 expat-2.1.0/MANIFEST
> 
>     x -rw-rw-r--  0 karl   karl     2728 Mar 25  2012
>     expat-2.1.0/expat_config.h.in <http://expat_config.h.in/>
> 
>     x drwxrwxr-x  0 karl   karl       0 Mar 25  2012 expat-2.1.0/vms/
> 
>     x -rw-rw-r--  0 karl   karl     2080 Jan 29  2004 expat-2.1.0/vms/descrip.mms
> 
>     x -rw-rw-r--  0 karl   karl     1199 Nov  3  2003 expat-2.1.0/vms/expat_config.h
> 
>     x -rw-rw-r--  0 karl   karl      576 Jun  5  2002 expat-2.1.0/vms/README.vms
> 
>     x -rw-rw-r--  0 karl   karl     7036 Mar 19  2012 expat-2.1.0/Makefile.in
> 
>     x drwxrwxr-x  0 karl   karl        0 Mar 25  2012 expat-2.1.0/xmlwf/
> 
>     x -rwxrwxr-x  0 karl   karl      509 Dec 26  2005 expat-2.1.0/xmlwf/xmlfile.h
> 
>     x -rwxrwxr-x  0 karl   karl      224 Jul  1  2002 expat-2.1.0/xmlwf/xmlurl.h
> 
>     x -rwxrwxr-x  0 karl   karl     1790 Nov 13  2009
>     expat-2.1.0/xmlwf/readfilemap.c
> 
>     x -rwxrwxr-x  0 karl   karl     2143 Jul  1  2002
>     expat-2.1.0/xmlwf/win32filemap.c
> 
>     x -rwxrwxr-x  0 karl   karl     1274 Jun 28  2006
>     expat-2.1.0/xmlwf/unixfilemap.c
> 
>     x -rwxrwxr-x  0 karl   karl      493 Jul  1  2002 expat-2.1.0/xmlwf/xmlmime.h
> 
>     x -rwxrwxr-x  0 karl   karl     2912 Jul  1  2002 expat-2.1.0/xmlwf/ct.c
> 
>     x -rwxrwxr-x  0 karl   karl     4130 Feb 21  2012 expat-2.1.0/xmlwf/xmlwf.dsp
> 
>     x -rwxrwxr-x  0 karl   karl      500 Jul  1  2002 expat-2.1.0/xmlwf/filemap.h
> 
>     x -rwxrwxr-x  0 karl   karl     1355 Aug  6  2006 expat-2.1.0/xmlwf/codepage.c
> 
>     x -rwxrwxr-x  0 karl   karl     6082 Jun  3  2007 expat-2.1.0/xmlwf/xmlfile.c
> 
>     x -rwxrwxr-x  0 karl   karl     3218 Jul  1  2002 expat-2.1.0/xmlwf/xmlmime.c
> 
>     x -rwxrwxr-x  0 karl   karl    21212 Jan 19  2009 expat-2.1.0/xmlwf/xmlwf.c
> 
>     x -rwxrwxr-x  0 karl   karl     8813 Aug 24  2002
>     expat-2.1.0/xmlwf/xmlwin32url.cxx
> 
>     x -rwxrwxr-x  0 karl   karl      825 Apr 21  2000 expat-2.1.0/xmlwf/xmltchar.h
> 
>     x -rwxrwxr-x  0 karl   karl      196 Jul  1  2002 expat-2.1.0/xmlwf/codepage.h
> 
>     x -rw-rw-r--  0 karl   karl     4652 Mar  4  2012 expat-2.1.0/configure.in
>     <http://configure.in/>
> 
>     x drwxrwxr-x  0 karl   karl        0 Mar 25  2012 expat-2.1.0/lib/
> 
>     x -rw-rw-r--  0 karl   karl     3144 Nov 27  2006 expat-2.1.0/lib/xmltok_ns.c
> 
>     x -rw-rw-r--  0 karl   karl      797 Jun  3  2007 expat-2.1.0/lib/amigaconfig.h
> 
>     x -rw-rw-r--  0 karl   karl    11184 Dec 23  2005 expat-2.1.0/lib/xmltok.h
> 
>     x -rw-rw-r--  0 karl   karl     3364 Jun  2  2006
>     expat-2.1.0/lib/expat_external.h
> 
>     x -rw-rw-r--  0 karl   karl     1830 Jul  2  2002 expat-2.1.0/lib/iasciitab.h
> 
>     x -rw-rw-r--  0 karl   karl     4599 Jul  9  2002 expat-2.1.0/lib/Makefile.MPW
> 
>     x -rw-rw-r--  0 karl   karl     2028 May 12  2007 expat-2.1.0/lib/libexpat.def
> 
>     x -rw-rw-r--  0 karl   karl      709 Dec 17  2005 expat-2.1.0/lib/winconfig.h
> 
>     x -rw-rw-r--  0 karl   karl     7050 Sep 19  2000 expat-2.1.0/lib/nametab.h
> 
>     x -rw-rw-r--  0 karl   karl     2028 Nov 27  2006 expat-2.1.0/lib/internal.h
> 
>     x -rw-rw-r--  0 karl   karl    32475 Jan 31  2009 expat-2.1.0/lib/xmlrole.c
> 
>     x -rw-rw-r--  0 karl   karl     4971 Feb 21  2012 expat-2.1.0/lib/expatw.dsp
> 
>     x -rw-rw-r--  0 karl   karl     1760 Jul  2  2002 expat-2.1.0/lib/asciitab.h
> 
>     x -rw-rw-r--  0 karl   karl     1763 Jul  2  2002 expat-2.1.0/lib/utf8tab.h
> 
>     x -rw-rw-r--  0 karl   karl     2028 May 12  2007 expat-2.1.0/lib/libexpatw.def
> 
>     x -rw-rw-r--  0 karl   karl   197613 Mar 11  2012 expat-2.1.0/lib/xmlparse.c
> 
>     x -rw-rw-r--  0 karl   karl    41405 Jan 31  2009 expat-2.1.0/lib/xmltok.c
> 
>     x -rw-rw-r--  0 karl   karl     1985 May  8  2007 expat-2.1.0/lib/ascii.h
> 
>     x -rw-rw-r--  0 karl   karl      661 Sep 22  2000 expat-2.1.0/lib/xmltok_impl.h
> 
>     x -rw-rw-r--  0 karl   karl     1813 Jul  2  2002 expat-2.1.0/lib/latin1tab.h
> 
>     x -rw-rw-r--  0 karl   karl     4325 May  3  2007
>     expat-2.1.0/lib/expatw_static.dsp
> 
>     x -rw-rw-r--  0 karl   karl     1325 Nov  3  2003 expat-2.1.0/lib/macconfig.h
> 
>     x -rw-rw-r--  0 karl   karl     4901 Feb 21  2012 expat-2.1.0/lib/expat.dsp
> 
>     x -rw-rw-r--  0 karl   karl     3023 Nov 13  2002 expat-2.1.0/lib/xmlrole.h
> 
>     x -rw-rw-r--  0 karl   karl    44554 Feb 21  2012 expat-2.1.0/lib/xmltok_impl.c
> 
>     x -rw-rw-r--  0 karl  karl     4254 Feb 21  2012
>     expat-2.1.0/lib/expat_static.dsp
> 
>     x -rw-rw-r--  0 karl   karl    41752 Mar  4  2012 expat-2.1.0/lib/expat.h
> 
>     x -rw-rw-r--  0 karl   karl   304569 Mar 25  2012 expat-2.1.0/aclocal.m4
> 
>     + cd expat-2.1.0
> 
>     + chmod -R a+rX,g-w,o-w .
> 
>     + cd /H/project/rtems/rsb/rtems/build/e2xwm1
> 
>     + SB_CXC=no
> 
>     ==> clean %{buildroot}:
>     /H/project/rtems/rsb/rtems/build/tmp/expat-2.1.0-x86_64-w64-mingw32-1-root-heng
> 
>     + echo '==> clean %{buildroot}:
>     /H/project/rtems/rsb/rtems/build/tmp/expat-2.1.0-x86_64-w64-mingw32-1-root-heng'
> 
>     + rm -rf
>     /H/project/rtems/rsb/rtems/build/tmp/expat-2.1.0-x86_64-w64-mingw32-1-root-heng
> 
>     + /bin/mkdir -p
>     /H/project/rtems/rsb/rtems/build/tmp/expat-2.1.0-x86_64-w64-mingw32-1-root-heng
> 
>     ==> %build:
> 
>     + echo '==> %build:'
> 
>     ++ pwd
> 
>     + build_top=/H/project/rtems/rsb/rtems/build/e2xwm1
> 
>     + cd expat-2.1.0
> 
>     + test x86_64-w64-mingw32 '!=' x86_64-w64-mingw32
> 
>     +
>     LDFLAGS=-L/H/project/rtems/rsb/rtems/build/tmp/sb-heng/4.11/rtems-arm/H/Project/rtems/4.11/lib
> 
>     ++ echo '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'
> 
>     ++ sed -e 's,-std=gnu99 ,,'
> 
>     + CC='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'
> 
>     ++ echo 'x86_64-w64-mingw32-g++ -O2 -pipe
>     -I/H/project/rtems/rsb/rtems/build/tmp/sb-heng/4.11/rtems-arm/H/Project/rtems/4.11/include'
> 
>     ++ sed -e 's,-std=gnu99 ,,'
> 
>     + CXX='x86_64-w64-mingw32-g++ -O2 -pipe
>     -I/H/project/rtems/rsb/rtems/build/tmp/sb-heng/4.11/rtems-arm/H/Project/rtems/4.11/include'
> 
>     + CC_FOR_BUILD='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'
> 
>     + CXX_FOR_BUILD='x86_64-w64-mingw32-g++ -O2 -pipe
>     -I/H/project/rtems/rsb/rtems/build/tmp/sb-heng/4.11/rtems-arm/H/Project/rtems/4.11/include'
> 
>     + export CC CXX CFLAGS CXXFLAGS LDFLAGS
> 
>     + export CC_FOR_HOST CXX_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST
>     LDFLAGS_FOR_HOST
> 
>     + export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD
>     LDFLAGS_FOR_BUILD
> 
>     + ./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
> 
>      
> 
>     Thanks  in advance,
> 
>     ToSeven
> 
>      
> 
>      
> 
>     发送自Windows 10 版邮件 <https://go.microsoft.com/fwlink/?LinkId=550986>应用
> 
>      
> 
> 
> 
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
> 



More information about the users mailing list