Re: Porting GCC to new target

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

 



Hi,

In the Makefile.in, I compile using:

./xgcc -B./ -O2  -DCROSS_COMPILE -DIN_GCC    -g
-I./include   -g1  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc  -I. -I.
-I./config -c -s  -v -DL${name}

And this gives me an error given below. 

if [ -f libgcc2.ready ] ; then \
	true; \
else \
	touch libgcc2.ready; \
fi
rm -f tmplibgcc1.a libgcc1.S
rm -f tmplibgcc2.a
set -e; \
for name in _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2
_floatdidf _floatdisf _fixunsdfsi _fixunssfsi
_fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi
_fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi
_fixunstfdi _floatditf __gcc_bcmp _varargs __dummy
_eprintf _bb _shtab _clear_cache _trampoline __main
_exit _ctors _pure; \
do \
  echo ${name}; \
  ./xgcc -B./ -O2  -DCROSS_COMPILE -DIN_GCC    -g
-I./include   -g1  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc  -I. -I.
-I./config -c -s  -v -DL${name} \
      ./libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ` if [ -f
/home/x32v/compiler/egcs-1.1.2/gcc/../binutils/ar ] ;
then echo
/home/x32v/compiler/egcs-1.1.2/gcc/../binutils/ar ;
else if [ "i686-pc-linux-gnu" = "x32v-unknown-none" ]
; then echo ar; else t='s,x,x,'; echo ar | sed -e $t ;
fi; fi` rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_udiv_w_sdiv
Reading specs from ./specs
gcc version egcs-2.91.66 19990314 (egcs-1.1. release)
 ./cpp -lang-c -v -I./include -I . -I. -I./config
-isystem ./include -undef -D__GNUC__=2
-D__GNUC_MINOR__=91 -D__x32v__ -D_X32V__ -D__X32V__
-D_x32v__ -D_X32V__ -D_X32V__ -D__OPTIMIZE__ -g -g1
-DCROSS_COMPILE -DIN_GCC -DIN_LIBGCC2
-D_GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -DL_udiv_w_sdiv
./libgcc2.c /tmp/cc6LOY2T.i
 GNU CPP version egcs-2.91.66 19990314 (egcs-1.1.2
release) (X32V)
 #icnlude "..." search starts here:
 #include <...> search starts here:
 include
 .
 config
 include
 End of search list
 ./cc1 /tmp/cc6LOY2T.i -quiet -dumpbase libgcc2.c -g
-g1 -02 -version -o /tmp/ccopYv1G.s
 GNU CPP version egcs-2.91.66 19990314 (egcs-1.1.2
release) (x32v) compiled by GNU C version 2.96
20000731 (Mandrake Linux 8.2 2.96-0.76mdk).
 as -o _udiv_w_sdiv.o /tmp/ccopYv1G.s
 /tmp/ccopYv1G.s: Assembler messages:
 /tmp/ccopYv1G.s:89: Error: invalid character '_' in
mnemonic
 make: *** [libgcc2.a]Error 1

I would really appreciate if you could help me in
getting rid of this error.

Regards,
savi
--- Dara Hazeghi <dhazeghi@xxxxxxxxx> wrote:
> Hello,
> 
> you don't provide enough information in your
> question
> to be able to provide much of an answer. What is the
> exact command line that's giving this error? What
> are
> the actual commands that are being invoked (add -v
> to
> the gcc command line to get a listing of what's
> actually occurring). Thanks,
> 
> Dara
> 
> __________________________________
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree


=====
-------------------------------------------------------------------------------
 ?Personality is born out of pain. It is the fire shut up in the flint.? --- Yeats
--------------------------------------------------------------------------------

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux