Cross compiling from a Intel Mac to a Power PC lazarus / 8-Other ---------------------------------------------------------------------- windy · 2007-12-06 19:49 Hi I would like to cross compile my program to the PowerPC on my Intel Mac I think from what I understand I would need to download the Lazarus version for the power pc and then use those source files etc when doing the cross compile but I would like some guidence thanks very much! Brian ---------------------------------------------------------------------- Vincent Snijders · 2007-12-06 22:02 If you installed the dmg's, it should be as easy as changing the target CPU in the compiler options. The intel version of the dmg's already contain the powerpc units. ---------------------------------------------------------------------- windy · 2007-12-06 22:29 Hi tried that, with a new project complains about cant find unit Interfaces so I have some things missing? (and yes I did install with the .dmg files) thanks! ---------------------------------------------------------------------- Vincent Snijders · 2007-12-06 22:38 check that you have \lcl\units\powerpc- darwin\gtk\interfaces.ppu. ---------------------------------------------------------------------- windy · 2007-12-06 23:26 Hi yes, thats there so that means there is some path problem in lazarus....something i need to change/setup? ---------------------------------------------------------------------- Vincent Snijders · 2007-12-07 03:11 In the environment option change the compiler ppc386 to fpc, which selects the correct ppcXXX for the target CPU. ---------------------------------------------------------------------- windy · 2007-12-07 03:52 complains about not being a exectuable if i change it to fpc i notice that the pppc386 is an alias to that file actualy being in /usr/local/lib/fpc/2.2.1/ppc386 what if i set the compiler path to /usr/local/lib/fpc/2.2.1/ppcrossppc instead of /usr/local/bin/ppc386/ ? ---------------------------------------------------------------------- windy · 2007-12-07 04:56 ok, tried that, and no complaints so then had that set and had the cpu set to powerpc in the compiler options and then tried to do a build get error message /usr/local/share/lazarus/components/turbopower_ipro/ipconst.pas(738) error: assembler powerpc-darwin-as not found,switching to external assembling whats next boss? thanks!