C (167/207)

From:Bablos
Date:24 Dec 99 at 12:44:08
Subject:GCC Problems

From: Bablos <bablos@cableinet.co.uk>

Hi There...

My compiler's spitting out all sorts of messages, and I don't know why!

I've recently installed the WarpOS version of EGCS to try and play
around with some things, but to no avail. Something tells me that this
is the likely culprit.

The project I'm trying to compile is using GCC 2.95.1, and I suddenly
get the following error;

cpp: Invalid option `-undef'

Strange. So, I changed the definition to that of EGCS (68k), and got
the following;

/t/ccpKMiKJ.s: Assembler messages:
/t/ccpKMiKJ.s:4: Error: Unknown pseudo-op: `.section'
/t/ccpKMiKJ.s:90: Error: Unknown pseudo-op: `.section'
/t/ccpKMiKJ.s:95: Error: Unknown operator -- statement `blr' ignored
/t/ccpKMiKJ.s:102: Error: Unknown operator -- statement `li 3,0' ignored
/t/ccpKMiKJ.s:103: Error: Unknown operator -- statement `blr' ignored
/t/ccpKMiKJ.s:110: Error: Unknown operator -- statement `li 3,1' ignored
/t/ccpKMiKJ.s:111: Error: Unknown operator -- statement `blr' ignored

And so on, and so forth.

So, what am I doing wrong? This was compiling just fine before I
tried the WarpOS EGCS, so have I moved/overwritten something? Hope
someone out there can help.

Bablos.