Mail Archives: djgpp/1997/08/27/12:27:53
On Wed, 27 Aug 1997, Darren Grant wrote:
> I have written a C command-line util that links the Allegro library with
> a very small amount of my own code. The target executable (in ms-dos)
> is huge! (just under 300k) What can I do to reduce the size of this?
This is explained in section 8.15 of the DJGPP FAQ list (v2/faq210b.zip
from the same place you get DJGPP); please read it.
> Is the entire Allegro library being linked?
No, only the function that your program calls (and any functions called
by those Allegro functions internally) are linked in.
- Raw text -