JonHolland
Still Fresh
- Joined
- Dec 17, 2006
- Messages
- 26
yaustar posted on Dec 19 2006 at 05:06 PM said:The order of the libraries you link to may matter, try the following taking out the libraries you don't need:
Code:-static -lSDL_gfx -lSDL_ttf -lfreetype -lSDL_image -ljpeg -lpng12 -lz -lSDL_mixer -lvorbisidec -lmikmod -lsmpeg -lSDL -lgcc -lm -lc -lexpat -lpthread
Putting the SDL sub libraries infront of -lSDL did the trick. Seems like this sort of stuff should be documented somewhere.
My GPE went for 35k to a hair over 3 megs, yet the x86 compile of it is only 400k.
That doesn't make much sense.
Last edited by a moderator: