gcc 2.95

Barry Hancock baz.12kingfisher@virgin.net
Sat Sep 6 21:39:00 GMT 2003


Sir,

I am experiencing real difficulties in compiling the above version of the 
compiler as a cross compiler for the m68k.

I am following the guidelines as described in www.sthoward.com/CrossGCC as 
recommended in one of the gcc readme files, but am struggling to get it to 
compile without error.

In following the example, gcc compiles up to a point, then it errors with the 
following message :-
"
as: unrecognised option: -c68020
"

I presume a makefile or whatever should be -mc68020, but is missing the m, 
however, I cannot find it in any file.

This is not the only example - I have tried m68k-unknown-elf, m68k-aout, 
m68k-elf, m68k-gnu-elf, and so on, all with various errors.

I am wondering - is this a lost cause ? Is the m68k tree out of date or 
something ?

I am attempting to build from the sources supplied with Mandrake Linux 8.2 on 
a Red Hat Linux 6.2 system which uses egcs 2.91 on a PC.

Generally, the binary utilities build, with one or two exceptions (related to 
BFD), but gcc does not want to know.

Please save my sanity.

Sincerely

Barry Hancock



More information about the Gcc-bugs mailing list