Mail Archives: djgpp/1999/06/02/14:43:49
In article <MPG DOT 11bf783f9ba8f62598acfe AT news DOT freeserve DOT net> you wrote:
[...]
> However, if I use:
> gpp main.o battle.o unit.o music.o -o -Wall f_alli.exe -ljgmod -lalleg
> I get loads of multiple definition errors, e.g.
You managed to fool gcc completely, by putting -Wall in the *middle*
of a part of the command line, which is '-o f_alli.exe'. Putting it
anywhere else wouldn't have caused you problems, actually, but as is,
you're trying to generate a program called '-Wall', and link
f_alli.exe into it ...
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -