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


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

Re: Size of executables built with Xcode

From Tom Harrington <tph@pcisys.no.spam.dammit.net>
Newsgroups comp.sys.mac.programmer.help
Subject Re: Size of executables built with Xcode
Organization Atomic Bird
References <timstreater-927521.21484317062011@news.individual.net> <paul.nospam-92BDE5.23335910072011@pbook.sture.ch>
Date 2011-07-11 09:57 -0600
Message-ID <tph-8A26F1.09571911072011@localhost> (permalink)

Show all headers | View raw


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?

-- 
Tom "Tom" Harrington
Independent Mac OS X developer since 2002
http://www.atomicbird.com/

Back to comp.sys.mac.programmer.help | Previous | NextPrevious in thread | Next 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