• 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: universal build of autoconf target
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: universal build of autoconf target


  • Subject: Re: universal build of autoconf target
  • From: Wang Yongqing <email@hidden>
  • Date: Wed, 6 Aug 2008 02:16:05 -0700 (PDT)

Hi,

You could use the following parameters when you run the command configure and make:

./configure --disable-dependency-tracking
make
CFLAGS="-isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386

You can get the universal binary for your program. Of course, if you only want to build
one archetecture object, the -arch ppc or -arch i386 you could make a choice.

-br
yongqing

----- Original Message ----
From: "email@hidden" <email@hidden>
To: email@hidden
Sent: Tuesday, August 5, 2008 11:41:07 PM
Subject: universal build of autoconf target

Hi - I've been reading through the article at
http://developer.apple.com/opensource/buildingopensourceuniversal.html but
I'm in a situation where I'm working natively on an Intel machine, whereas
the article assumes a PPC native machine.  As such, I'm not sure which
flags I should be passing to the ./configure script in order to build
properly for PPC.

Is there another more complete reference, a more recent example, or any
other tips you might have?  Thanks in advance.

Liam
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
_______________________________________________ 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
  • Prev by Date: Re: Turning off the garbage collector for Xcode 3.0
  • Next by Date: #pragma align=natural?
  • Previous by thread: universal build of autoconf target
  • Next by thread: Build settings from command execution?
  • Index(es):
    • Date
    • Thread