This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Build problems; Please help


Hi,

   Thanks for the reply.

I have build gas as part of the package binutils. It is build and
it is picking up the assembler that is build for the arm. Here is
the output with -v flag to the gcc.
-----
  /home/jbrahma/local/zip/build-egcs/gcc/xgcc  <snipped> -o 
libgcc/thumb/_divdi3.o -v
  Reading specs from /home/jbrahma/local/zip/build-egcs/gcc/specs
   gcc version 2.96 20000717 (experimental)
  /home/jbrahma/local/zip/build-egcs/gcc/cpp -lang-c -v
  -I/home/jbrahma/local/arm-wrs-vxworks/include -I.
  -I../../egcs-20000717/gcc -I../../egcs-20000717/gcc/config
  -I../../egcs-20000717/gcc/../include
  -iprefix 
/home/jbrahma/local/zip/build-egcs/gcc/../lib/gcc-lib/arm-wrs-vxworks/2.96/
  -isystem /home/jbrahma/local/arm-wrs-vxworks/bin/include
  -isystem /home/jbrahma/local/zip/build-egcs/gcc/include
  -D__GNUC__=2 -D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -D__vxworks 
-D__arm__
  -D__vxworks -D__arm__ -Acpu(arm) -Amachine(arm) -D__CHAR_UNSIGNED__ 
-D__OPTIMIZE__
  -g -g1 -D__ARM_ARCH_3__ -D__APCS_32__ -D__ARMEL__ -D__THUMBEL__ 
-DCPU=ARM710A
  -Dthumb -D__thumb__ -DCROSS_COMPILE -DIN_GCC -DSVR4 -Dinhibit_libc 
-DHAVE_GTHR_DEFAULT
  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -DL_divdi3
  -isystem ./include ../../egcs-20000717/gcc/libgcc2.c /var/tmp/ccmGXaHg.i
  GNU CPP version 2.96 20000717 (experimental) (cpplib) (ARM/VxWorks)

<snipped>

  /home/jbrahma/local/zip/build-egcs/gcc/cc1 /var/tmp/ccmGXaHg.i -quiet 
-dumpbase
  libgcc2.c -mthumb -g -g1 -O2 -O2 -version -fno-inline -o 
/var/tmp/ccH7l0Fp.s
  GNU C version 2.96 20000717 (experimental) (arm-wrs-vxworks) compiled by 
GNU C version 2.8.1.
  /home/jbrahma/local/arm-wrs-vxworks/bin/as -o libgcc/thumb/_divdi3.o 
/var/tmp/ccH7l0Fp.s
  /var/tmp/ccH7l0Fp.s: Assembler messages:
  /var/tmp/ccH7l0Fp.s:353: Error: bad instruction `push {r4,r5,r6,r7,lr}'

-------------------------------------------------
This shows that it is picking up the correct assembler binary.

And here is the --version output of the gas binary
-----------------------------------------------------------
  /home/jbrahma/local/arm-wrs-vxworks/bin/as --version
  GNU assembler 2.10
  Copyright
<snip>
  This assembler was configured for a target of `arm-wrs-vxworks'.
-----------------------------------------------------------

Since there was no target for arm-wrs-vxworks in binutils, I copied the
configure parameters for the new target and build it. I have also tried
with an assembler binary built with arm-coff. That too gave the same
error message.


Thanks
JP Brahma


________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]