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]

Re: Compiling GCC


On Sun, Apr 04, 1999 at 09:43:15PM +0400, Denis V. Manilo wrote:
> 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
<snip>
> _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'
<snip>
> /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

It seems you don't have a compiler for sparc-assembly files operational
yet. Did you do it as per the FAQ and compile binutils first?

Jurriaan
-- 
Weiler's Law:
  Nothing is impossible for the man who doesn't have to do it himself.
_______________________________________________
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.