Recent

Author Topic: compile mac os x intel / power pc  (Read 6197 times)

Sylvain

  • Guest
compile mac os x intel / power pc
« on: June 30, 2006, 03:27:44 pm »
Hi there,

I have a mac mini intel, and lazarus works fine. Everything works, compiling etc.

But Lazarus makes executable only for i386 ( = intel).

How can i compile my code (still with lazarus ^^ not xcode) so it can works on power pc?

and perhaps anyone knows how to make universal packages? (but at least power pc only exec is ok)

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2582
RE: compile mac os x intel / power pc
« Reply #1 on: July 03, 2006, 03:51:21 pm »
since you have a mini intel, fpc defaults to intel code. for ppc you need to crosscompile your app.
See the wiki for more info (I don't know how uptodate thsi info is, AFAIR crosscompiling is made easier):
http://wiki.lazarus.freepascal.org/index.php/Cross_compiling_for_Win32_under_Linux
and
http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&p=7222#7222
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2582
RE: compile mac os x intel / power pc
« Reply #2 on: July 03, 2006, 03:58:54 pm »
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018