Mail Archives: djgpp/1997/02/28/00:21:09
On Thu, 27 Feb 1997 21:53:25 EST fwec AT juno DOT com (Mark T Logan) writes:
>
>On 27 Feb 1997 05:36:23 GMT "Sly" <sly AT aussie DOT net> writes:
>>I am (slowly) developing a game using the Allegro library. I was
>>wondering
>>whether it would be possible to be able to trim the library when the
>>program is ready for general distribution. That is, remove any
>unused
>>sections, like video card specific drivers (my program just uses
>>Mode-X
>>resolutions) and any other sections not required. Would this be
>>advantageous, or just too difficult to contemplate?
>>
>
>I'm sure Shawn will reply to this message too, but I'll put my 2 cents
>in
>anyway.
>
>Since allegro is distributed with all the sources, all you have to do
>is link
>in only the object files which you need. For example, if
I thought the linker already did this for you - as in, any object files
in a library that go unreferenced are unlinked (however, all it takes is
a single reference and the entire object file is linked in). Somebody
correct me if I'm wrong.
...Chambers
- Raw text -