• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Building sqlite universal [was:Re: .a under version control]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building sqlite universal [was:Re: .a under version control]


  • Subject: Re: Building sqlite universal [was:Re: .a under version control]
  • From: "Peter O'Gorman" <email@hidden>
  • Date: Fri, 19 May 2006 12:21:08 +0900

On Thu, 2006-05-18 at 19:50 -0700, Bill Bumgarner wrote:
> On May 18, 2006, at 7:19 PM, Peter O'Gorman wrote:
> > I installed the latest GNU tools, did `env LIBTOOLIZE=glibtoolize
> > autoreconf -fvi; ./configure
> > CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch
> > i386";
> > make' and got a fat sqlite.
>
> Maybe so, maybe not.
>
> The problem with autoconf is that it has absolutely no notion that
> the compiler might produce binaries for more than one architecture at
> a time.     If there are any endian related bits in the SQLite source
> tree (I honestly don't remember if there are), then they will likely
> be set to the endian configuration of the architecture of your local
> machine, even when compiling for the opposite architecture.
>
> If the autoconf stuff is configured correctly, it will support cross
> compilation.   That tends to be a rarity, though.

I know this (see an email to you and a bunch of other people from me
about Autotools). sqlite, however, does endian checks at runtime (see
src/sqliteInt.h), so although I've not run make test on an intel machine
- don't have one, I think the resulting binary has a reasonably good
chance of working.

Peter

Attachment: signature.asc
Description: This is a digitally signed message part

 _______________________________________________
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

References: 
 >.a under version control (From: David Dunham <email@hidden>)
 >Re: .a under version control (From: Jim Correia <email@hidden>)
 >Re: .a under version control (From: David Dunham <email@hidden>)
 >Re: .a under version control (From: Marco Bambini <email@hidden>)
 >Re: .a under version control (From: Andrew Carter <email@hidden>)
 >Re: .a under version control (From: Marco Bambini <email@hidden>)
 >Re: .a under version control (From: Andrew Carter <email@hidden>)
 >Re: .a under version control (From: Andrew Carter <email@hidden>)
 >Building sqlite universal [was:Re: .a under version control] (From: "Peter O'Gorman" <email@hidden>)
 >Re: Building sqlite universal [was:Re: .a under version control] (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Re: Building sqlite universal [was:Re: .a under version control]
  • Next by Date: Re: dead-code stripping, pass two...
  • Previous by thread: Re: Building sqlite universal [was:Re: .a under version control]
  • Next by thread: Re: .a under version control
  • Index(es):
    • Date
    • Thread