[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

failed to build tools




On Thu, 27 May 1999, Hao Zhang wrote:

> Hi ,
> I built the x-compiler toolset under linux 5.1 for m68k CPU. all archives were downloaded and uncompressed exactly as described in the on-line document, no problem found.
> My gcc version is 2.7.2.3.
> Finally I started to build tools with "bit m68k" command.
> Then everything was OK until I got the following error message.
> 
> ----
> gmake[1]: Leaving directory `/tmp/abc/rtems/tools/build-m68k-tools/ld'
> gmake[1]: Entering directory `/tmp/abc/rtems/tools/build-m68k-tools/gcc'
> gcc -DCROSS_COMPILE -DIN_GCC    -O2 -g  -DHAVE_CONFIG_H     -I. -I../../src/gcc -I../../src/gcc/config \
>   -DGCC_INCLUDE_DIR=\"/tmp/abc/rtems/egcs-1.1b-binutils-2.9.1-newlib-1.8.0/m68k-rtems/lib/gcc-lib/m68k-rtems/egcs-2.91.57/include\" \
>   -DGPLUSPLUS_INCLUDE_DIR=\"/tmp/abc/rtems/egcs-1.1b-binutils-2.9.1-newlib-1.8.0/m68k-rtems/include/g++\" \
>   -DOLD_GPLUSPLUS_INCLUDE_DIR=\"/tmp/abc/rtems/egcs-1.1b-binutils-2.9.1-newlib-1.8.0/m68k-rtems/lib/g++-include\" \
>   -DLOCAL_INCLUDE_DIR=\"/tmp/abc/rtems/egcs-1.1b-binutils-2.9.1-newlib-1.8.0/m68k-rtems/include\" \
>   -DCROSS_INCLUDE_DIR=\"/tmp/abc/rtems/egcs-1.1b-binutils-2.9.1-newlib-1.8.0/m68k-rtems/m68k-rtems/sys-include\" \
>   -DTOOL_INCLUDE_DIR=\"/tmp/abc/rtems/egcs-1.1b-binutils-2.9.1-newlib-1.8.0/m68k-rtems/m68k-rtems/include\" \
>   -c `echo ../../src/gcc/cccp.c | sed 's,^\./,,'`
> as: unrecognized option `-Qy'

For whatever reason, you did not build binutils.  The unrecognized option
on as indicates that the native assembler is being invoked not the cross.

--joel
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985