v1.3 large linux library

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
garrittg
Posts: 117
Joined: Wed Apr 20, 2005 6:17 pm
Location: Iowa, USA
Contact:

v1.3 large linux library

Post by garrittg »

i just compiled the linux version of 1.3 and its around 30mb compared to the 8mb of the v1.2 library. is this comparable to the size of what others are getting?

thx.
Jiang
Posts: 77
Joined: Tue Feb 20, 2007 11:03 am

Re: v1.3 large linux library

Post by Jiang »

[quote="garrittg"]i just compiled the linux version of 1.3 and its around 30mb compared to the 8mb of the v1.2 library. is this comparable to the size of what others are getting?

thx.[/quote]

Functionalities added and the final image will be larger in my mind. :wink:

Seriously, seems irrlicht's makefile exports symbols for you and
If library size is an issue, you can just strip the symbols.

please

man strip

and have a try.
lester
Posts: 86
Joined: Mon Jan 29, 2007 3:33 pm

Post by lester »

Just open the Makefile and delete -g key from the CXXFLAGS variable. Then run make as usual

please do not use strip on the static lib, because it will be corrupted
tbaptista
Posts: 6
Joined: Wed Apr 04, 2007 10:53 pm

Post by tbaptista »

Use the NDEGUB option. That way you will also get better performance as the Makefile will set optimizing compile flags. To set the flag just type on the console:
export NDEBUG=1

This way you don't need to change the Makefile.

Also, search for NDEBUG in the forum. At least one person is having an issue with NDEBUG on and exampe 7.
garrittg
Posts: 117
Joined: Wed Apr 20, 2005 6:17 pm
Location: Iowa, USA
Contact:

Post by garrittg »

@Jiang - ill refrain from stripping. dont want to blind anyone :)

thanks for the replies. i really dont have an issue with the size, i just wanted to make sure it wasnt indicative of some other issue.
Post Reply