Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.pcisys.net!news.pcisys.net.POSTED!not-for-mail NNTP-Posting-Date: Mon, 11 Jul 2011 10:57:19 -0500 From: Tom Harrington Newsgroups: comp.sys.mac.programmer.help Subject: Re: Size of executables built with Xcode Organization: Atomic Bird References: User-Agent: MT-NewsWatcher/3.5.1 (Intel Mac OS X) Date: Mon, 11 Jul 2011 09:57:19 -0600 Message-ID: Lines: 35 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-IINHEfYT14CvFVHVV9vqNb8JbF52x8owzXdtQ4/U16PsoFJFlOTHx8QzroloheZpH7M8lxVqPqfq3ki!YxyYpJMjMM2uXzH6zIkybE1ebV4kmidi8VKMe3BNRKIHOiJdFFdq7L4kEPOqUEoT4YtjKkqDQgQh!yCNZ/A== X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2477 Xref: x330-a1.tempe.blueboxinc.net comp.sys.mac.programmer.help:40 In article , Paul Sture wrote: > In article , > Tim Streater wrote: > > > Today I felt like rebuilding sqlite3, the CLI front end to SQLite. I > > downloaded the source and that of the SQLite library from their website, > > and shoved it into a new C project. I also found out where libedit.dylib > > was hiding and persuaded Xcode to link against it. So that gave me an > > executable which can use sqlite3's history stack and do command editing > > for when I recall an sql command. So, the same functionality that comes > > anyway with the supplied version of sqlite3 (I'm on OS X 10.6.7, using > > Xcode 3.2.6) albeit with a bang up to date version of the sqlite library. > > > > But, the executable is *much* bigger than the one that comes with OS X. > > See here: > > > > Second-Mini% ls -la sqlite3* > > -rwxr-xr-x@ 1 tim tim 912448 17 Jun 18:54 sqlite3 > > -rwxr-xr-x 1 root wheel 160176 24 Jun 2010 sqlite3-old > > > > > > More than five times bigger. Am I overlooking some Xcode options? > > > > Apologies for the tardy reply, but my first reaction is that by going > the Xcode route you have a load of GUI support compiled or linked in. SQLite has GUI support? -- Tom "Tom" Harrington Independent Mac OS X developer since 2002 http://www.atomicbird.com/