Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiling sqlite



can i place the static-only copy of the sqlite library into the project folder or have it to be at /usr/local/lib ?
is the 'libsqlite.a' file the only file i need?

sascha

On 31. Jan 2004, at 20:02 Uhr, b.bum wrote:

On Jan 31, 2004, at 8:13 AM, Michael Grant wrote:
You're right, I must have grabbed the wrong file. The Web site doesn't exactly make it easy to get the right one, at least not for us Mac folk.

If you are intending to embed SQLite into applications that are expected to run on other systems, considering building a statically linked SQLite library. Size isn't a problem -- it less than 1MB after stripping.

I usually use something like...

./configure --disable-shared --enable-static
sudo make install

... as this will install a static-only copy of the sqlite library.

(The above is actually from building the Readline library. This will work with just about any GNU autoconf based tool.)

b.bum
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: compiling sqlite (From: Rob Minerick <email@hidden>)
 >Re: compiling sqlite (From: Michael Grant <email@hidden>)
 >Re: compiling sqlite (From: "b.bum" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.