Mail Archives: djgpp/1997/02/02/19:17:15
From: | "Thomas Harte" <T DOT Harte AT btinternet DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Help needed : Strange compile errors.
|
Date: | 2 Feb 1997 23:01:53 GMT
|
Organization: | Dell Computer Corporation
|
Lines: | 22
|
Message-ID: | <01bc115c$44965ea0$042749c2@default>
|
NNTP-Posting-Host: | host-73-39-4.btinternet.com
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Please help. I had a program that used to compile perfectly. One time, I
went into it, changed the odd ++ to a -- (just to change graphical effects
and so on), and now when I compile it with the command line :-
gcc -o -O3 %1.exe %1.c libsb.a -lalleg (which is actually a batch file,
hence the %1 bits)
. . . .I get a million errors like this:-
c:/djgpp/bin\ld.exe: bfd assertion fail coff-i386.c:368
. . . . there are some other errors, but before I get to read them, the
screen fills up with errors such as that above, and adding '| more' to the
command line doesn't seem to work. However, if I lose the optimisation bit
and compile as :-
gcc -o %1.exe %1.c libsb.a -lalleg
. . . . I get no errors whatsoever. Can anyone help ?!??! Just for the
record, I use a P200 with 16MB Ram under Windows 95.
-Thomas
- Raw text -