Author Topic: Compile my program to Universal Binary on Leopard  (Read 1898 times)

tyllrxs

  • Guest
Compile my program to Universal Binary on Leopard
« on: May 29, 2008, 01:43:12 pm »
I worked on Mac OS X Leopard and developed a small program by CodeBlocks.
But unexpectly it's Intel only, what is the way if I wanna make it a Universal Binary, which works on both PPC and Intel?
Thanks.   

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: Compile my program to Universal Binary on Leopard
« Reply #1 on: June 02, 2008, 10:10:05 pm »
The compiler/linker flags to use are: -arch ppc -arch i386