[Lazarus] Cross compiling a package woes..

Brad Campbell brad at wasp.net.au
Wed Oct 1 20:32:22 CEST 2008


Mattias Gärtner wrote:

> The CPU override was not used for projects. Fixed in 16831.
> 
> You can use 'fpc' instead of 'ppc386'. This will call ppc386 or ppcppc or
> whatever automatically.

I see... ppc386 was in my lazarus config.. fixed that.. then got this..

brad at bkmac:~/devel/fpc/Projects/Pascal/SIDE$ ../../../lazarus/lazbuild --cpu=powerpc --os=darwin 
--ws=carbon BST.lpr
TLazPackageGraph.CheckIfPackageNeedsCompilation  No state file for tv 0.0
   $08048D34  TLAZBUILDAPPLICATION__ONIDEMESSAGEDIALOG,  line 267 of lazbuild.lpr
   $0815A8E7  CHECKFILE,  line 3152 of /home/brad/devel/fpc/lazarus/packager/packagesystem.pas
   $0815A661  TLAZPACKAGEGRAPH__CHECKAMBIGUOUSPACKAGEUNITS,  line 3190 of 
/home/brad/devel/fpc/lazarus/packager/packagesystem.pas
   $081594E9  TLAZPACKAGEGRAPH__COMPILEPACKAGE,  line 2898 of 
/home/brad/devel/fpc/lazarus/packager/packagesystem.pas
   $081590A7  TLAZPACKAGEGRAPH__COMPILEREQUIREDPACKAGES,  line 2800 of 
/home/brad/devel/fpc/lazarus/packager/packagesystem.pas
   $08049EF8  TLAZBUILDAPPLICATION__BUILDPROJECT,  line 612 of lazbuild.lpr
   $08048F11  TLAZBUILDAPPLICATION__BUILDFILE,  line 297 of lazbuild.lpr
   $0804B622  TLAZBUILDAPPLICATION__RUN,  line 975 of lazbuild.lpr
   $0804CAC1  main,  line 1179 of lazbuild.lpr
was found in one of the source directories of the package tv 0.0 and looks like a compiled 
unit.Compiled units must be in the output directory of the package, otherwiseDelete ambiguous file?t 
problems using this package.

-- 
Dolphins are so intelligent that within a few weeks they can
train Americans to stand at the edge of the pool and throw them
fish.





More information about the Lazarus mailing list