Mail Archives: djgpp/1998/05/05/04:51:43
On Wed, 15 Apr 1998, Archee/CoNTRACT wrote:
> DJGPP produces quite big executables.
>
> Other linkers only include the procedures and variables are used.
> If I compille my program with WATCOM C or VISUAL C, it is quite smalled.
Please see the DJGPP FAQ list (v2/faq210b.zip from the same place you get
DJGPP), section 8.15. It explains what to do about that. (In 99% of the
cases, people just forget to use the -s switch when linking. Did you?).
> I think it is not a good way to simply convert a.out to exe.
Why? Converting to .exe only adds a 2KB stub, which is hardly a lot.
> I think we have to make a linker for coff objects.
The problem is that DOS doesn't know how to run COFF executables. That's
one of the problems why we need the 2KB stub.
- Raw text -