Recent

Author Topic: Cross compiling: creating PPC using Intel  (Read 4406 times)

crorden

  • New Member
  • *
  • Posts: 36
Cross compiling: creating PPC using Intel
« on: July 21, 2008, 11:09:19 pm »
Has anyone had recent success cross compiling to PPC from a Intel Mac? I tried two approaches previously suggested without success...


A.) first approach
1.) Tools/ConfigureBuildLazarus/ and rebuilt the LCL only with the options "-k -framework -kcarbon", target CPU set to powerpc,  and the LCL interface set to carbon. Selected build - this created a few warnings but appeared to complete.
 2.) Project.CompilerOptions - in the Code tab set Target CPU to powerpc, set linking to pass the option "-framework carbon", in paths set the LCL widget type to carbon.

Application appears to compile, but when I check the compiled application with "lipo -info" it reports being i386 architecture.

B.) Second approach followed the instructions on the web page
  http://wiki.lazarus.freepascal.org/Cross_compiling

When I type
 cd fpc/compiler
I am told
  su: cd: fpc/compiler: Not a directory
And when I try make or fpcmake
  make cycle CPU_TARGET=powerpc
I get
  make: *** No rule to make target `cycle'.  Stop.

Any thoughts?

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
RE: Cross compiling: creating PPC using Intel
« Reply #1 on: July 22, 2008, 07:16:32 pm »
Try asking in the Free Pascal mailling list. You can find it in www.freepascal.org

This forum is mostly dedicated to Lazarus IDE/LCL questions.

 

TinyPortal © 2005-2018