This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

Compiling GCC


I'm the beginner.
I was trying to compile gcc configured gcc as follows:
./configure --target=sparc-sun-sunos42 --with-gnu-as -with-gnu-ld 
My host machine is i586-*-linux.
After
  make LANGUAGE=c
I've met such message

if [ -f libgcc2.ready ] ; then \
        true; \
else \
        touch libgcc2.ready; \
fi
rm -f tmplibgcc2.a
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3
_ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2
_floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi
_fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi
_fixunstfdi _floatditf __gcc_bcmp _varargs _eprintf _op_new _op_vnew
_new_handler _op_delete _op_vdel _bb _shtab _clear_cache _trampoline
__main _exit _ctors _eh _pure; \
do \
  echo ${name}; \
  ./xgcc -B./ -O2  -DCROSS_COMPILE -DIN_GCC   -g -I./include  -g1  -I. -I.
-I./config -c -DL${name} \
      ./libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  /home/denis/gcc/sparc-sun-sunos42/bin/ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
/tmp/cca26977.s: Assembler messages:
/tmp/cca26977.s:45: Error: Unknown pseudo-op:  `.proc'
/tmp/cca26977.s:47: Error: Rest of line ignored. First ignored character
is `!'.
/tmp/cca26977.s:48: Error: no such 386 instruction: `save'
/tmp/cca26977.s:49: Error: Rest of line ignored. First ignored character
is `!'.
/tmp/cca26977.s:50: Error: Rest of line ignored. First ignored character
is `!'.
/tmp/cca26977.s:51: Error: no such 386 instruction: `wr'
/tmp/cca26977.s:52: Error: no such 386 instruction: `sra'
/tmp/cca26977.s:53: Error: bad register name ('%i1')
/tmp/cca26977.s:54: Error: no such 386 instruction: `andcc'
/tmp/cca26977.s:55: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:56: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:57: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:58: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:59: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:60: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:61: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:62: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:63: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:64: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:65: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:66: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:67: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:68: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:69: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:70: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:71: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:72: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:73: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:74: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:75: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:76: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:77: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:78: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:79: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:80: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:81: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:82: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:83: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:84: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:85: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:86: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:87: Error: no such 386 instruction: `mulscc'
/tmp/cca26977.s:88: Error: bad register name ('%g1')
/tmp/cca26977.s:89: Error: no such 386 instruction: `rd'
/tmp/cca26977.s:90: Error: bad register name ('%o0')
/tmp/cca26977.s:91: Error: bad register name ('%l4')
/tmp/cca26977.s:92: Error: bad register name ('%l5')
/tmp/cca26977.s:93: Error: bad register name ('%i1')
/tmp/cca26977.s:94: Error: operands given don't match any known 386
instruction
/tmp/cca26977.s:95: Error: bad register name ('%i2')
/tmp/cca26977.s:96: Error: bad register name ('%o0')
/tmp/cca26977.s:97: Error: bad register name ('%i0')
/tmp/cca26977.s:98: Error: operands given don't match any known 386
instruction
/tmp/cca26977.s:99: Error: bad register name ('%i3')
/tmp/cca26977.s:100: Error: bad register name ('%l2')
/tmp/cca26977.s:101: Error: bad register name ('%l4')
/tmp/cca26977.s:102: Error: bad register name ('%l0')
/tmp/cca26977.s:103: Error: bad register name ('%l1')
/tmp/cca26977.s:105: Error: no such 386 instruction: `restore'
make[2]: *** [libgcc2.a] Error 1
make[2]: Leaving directory `/net/trill/alexey/GCC/gcc-2.7.2'
make[1]: *** [stmp-multilib-sub] Error 2
make[1]: Leaving directory `/net/trill/alexey/GCC/gcc-2.7.2'
make: *** [stmp-multilib] Error 1

I'll be very much obliged if somebody tells me what's wrong.
                 With Regard, Denis Manilo

_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.