Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.programmer.help > #41

Re: Size of executables built with Xcode

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsfeed.utanet.at!newsfeed01.chello.at!newsfeed02.chello.at!news.hispeed.ch.POSTED!not-for-mail
From Paul Sture <paul.nospam@sture.ch>
Newsgroups comp.sys.mac.programmer.help
Subject Re: Size of executables built with Xcode
Organization SQLite and PostgreSQL
References <timstreater-927521.21484317062011@news.individual.net> <paul.nospam-92BDE5.23335910072011@pbook.sture.ch> <tph-8A26F1.09571911072011@localhost>
User-Agent MT-NewsWatcher/3.5.3b3 (PPC Mac OS X)
Date Tue, 12 Jul 2011 03:35:03 +0200
Message-ID <paul.nospam-3EA83F.03350312072011@pbook.sture.ch> (permalink)
X-Complaints-To abuse@hispeed.ch
Lines 40
NNTP-Posting-Host 80.218.238.176 (80.218.238.176)
NNTP-Posting-Date Tue, 12 Jul 2011 04:00:22 +0200
X-Trace e3f5e4e1baab6f57f4b1508267
Xref x330-a1.tempe.blueboxinc.net comp.sys.mac.programmer.help:41

Show key headers only | View raw


In article <tph-8A26F1.09571911072011@localhost>,
 Tom Harrington <tph@pcisys.no.spam.dammit.net> wrote:

> In article <paul.nospam-92BDE5.23335910072011@pbook.sture.ch>,
>  Paul Sture <paul.nospam@sture.ch> wrote:
> 
> > In article <timstreater-927521.21484317062011@news.individual.net>,
> >  Tim Streater <timstreater@waitrose.com> 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?

Mea culpa.  What I should have said was "picked an inappropriate 
template on creating a new project", i.e. one with unnecessary support 
for the job in hand.

-- 
Paul Sture

Back to comp.sys.mac.programmer.help | Previous | NextPrevious in thread | Find similar


Thread

Size of executables built with Xcode Tim Streater <timstreater@waitrose.com> - 2011-06-17 21:48 +0100
  Re: Size of executables built with Xcode Richard Kettlewell <rjk@greenend.org.uk> - 2011-06-17 22:06 +0100
    Re: Size of executables built with Xcode Tim Streater <timstreater@waitrose.com> - 2011-06-17 22:40 +0100
      Re: Size of executables built with Xcode Richard Kettlewell <rjk@greenend.org.uk> - 2011-06-17 23:09 +0100
  Re: Size of executables built with Xcode Paul Sture <paul.nospam@sture.ch> - 2011-07-10 23:33 +0200
    Re: Size of executables built with Xcode Tom Harrington <tph@pcisys.no.spam.dammit.net> - 2011-07-11 09:57 -0600
      Re: Size of executables built with Xcode Paul Sture <paul.nospam@sture.ch> - 2011-07-12 03:35 +0200

csiph-web