Mail Archives: djgpp/1998/07/15/04:00:33
Hi Gerard,
I think that Raul is under the false impression that his .exe is big
because all the lib is in it. That is he is only using the cosine from
the libmath.a so how does he get rid of arctan, log, sqrt, etc!
Raul,
the libxxx.a files are an archive of a pile of .o files that is log.o,
cos.o, sine.o sqrt.o all zipped into an archive a bit like pkzip. The
linker only pulls out what it needs to make your .exe work.
Regards Ian.
Raul Kompaß wrote:
>
> Hello out there,
>
> Is there a linker, that is capable of extracting just the functions
> i need out of, say liballg.a ? Or another simple means to achieve this
> without the need to extract the necessary source code?
>
> Raul
- Raw text -