Mail Archives: djgpp/1997/08/14/09:37:56
On Tue, 12 Aug 1997, Jeremy Penner wrote:
> I'm having trouble with the -g option. I use:
> gcc leveled.c -g leveled.exe tilelib.o sprite.o -lalleg
> and it spews out page after page of "multiple definitions" for every
> function I use. Here's a sample:
It's a cockpit error. You need to say this:
gcc leveled.c -g -o leveled.exe tilelib.o sprite.o -lalleg
In other words, -g does not come INSTEAD of -o, it comes IN ADDITION to
it. You still have to say -o leveled.exe.
- Raw text -