Re: Includes static library
Re: Includes static library
- Subject: Re: Includes static library
- From: Jim Ingham <email@hidden>
- Date: Wed, 15 Dec 2004 09:08:08 -0800
Are you using routines from the .a file? The Mac OS X linker (and most
other Unix linkers) only merge into the final executable those parts of
a .a library that are actually used by the executable. So if you add a
.a file to the link line but use none of it, the executable's size
shouldn't change.
Jim
On Dec 15, 2004, at 7:25 AM, Marco Bambini wrote:
Hi,
I have included some static libraries (with a .a extension) to my
xcode project, but when I build my target it seems that it doesn't
includes these libraries.
The total libraries size is about 1MB (without debugging symbols) and
my executable is only 12KB.
The same executable with the same libraries was about 600KB with
CodeWarrior 8.3.
I think I have to check some options...
Anyone can help me?
Thanks a lot,
Marco Bambini
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden