• 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: .a under version control
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .a under version control


  • Subject: Re: .a under version control
  • From: Marco Bambini <email@hidden>
  • Date: Thu, 18 May 2006 22:00:40 +0200

The TCC line is used to set C compile and options for use in building executables.
In the Makefile created following my tutorial you'll find three TCC line:


TCC = gcc -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1 -I. -I${TOP}/src
TCC += -DNDEBUG -DSQLITE_ALLOW_XTHREAD_CONNECT=1
TCC +=

I chose to add the universal binary settings in the latest empty TCC += line:
-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc


Hope this help.
Regards,
---
Marco Bambini
http://www.sqlabs.net
http://www.sqlabs.net/blog/



On May 18, 2006, at 9:12 PM, Andrew Carter wrote:

Marco,

This is cool. Can you explain what the TCC line is and what you added? I'd like to understand what is going on with the compiler. I'm guessing this will come up for other open source libraries we might use in a Cocoa app.

Thanks,
Andrew


On May 18, 2006, at 11:58 AM, Marco Bambini wrote:

Maybe this can help you:
http://www.sqlabs.net/blog/2006/05/compile-universal-binary- version-of.html


---
Marco Bambini

_______________________________________________ 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
  • Follow-Ups:
    • Re: .a under version control
      • From: Andrew Carter <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>)

  • Prev by Date: Re: .a under version control
  • Next by Date: Re: .a under version control
  • Previous by thread: Re: .a under version control
  • Next by thread: Re: .a under version control
  • Index(es):
    • Date
    • Thread