[Lazarus] Cross compiling a package woes..

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Oct 3 12:15:16 CEST 2008


On Wed, 01 Oct 2008 22:32:22 +0400
Brad Campbell <brad at wasp.net.au> wrote:

> 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

The message is unreadable because of the line endings. I fixed the
message output of lazbuild.
This way you can see the error and clean up your package directory.

> 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.


Mattias
 




More information about the Lazarus mailing list