On Mon, 5 Nov 2007, Vincent Snijders wrote:
> Michael Van Canneyt schreef:
> >
> > When you recompile the 32-bit lazarus IDE for 64-bit, you get the following
> > error:
> >
> > TLazPackageGraph.CheckIfPackageNeedsCompilation Compiler filename changed
> > for SDFLaz 0.1.1
> > Old="/usr/local/bin/ppc386"
> > Now="/usr/local/bin/ppcx64"
> > [TExternalToolList.Run] CmdLine="/usr/local/bin/ppcx64 -S2cgi -OG1 -Tlinux
> > -gl -vewnhi -l -Fu../../lcl/units/i386-linux/
> > -Fu../../lcl/units/i386-linux/gtk/ -Fu../../packager/units/i386-linux/ -Fu.
> > -FUlib/i386-linux/ -dLCL -dLCLgtk sdflaz.pas"
> > WorkDir="/home/michael/projects/lazarus/components/sdf/"
> >
> > As you can see, the IDE passes the 32-bit paths to the packages.
> >
> > Steps to reproduce:
> >
> > - Load 32-bit Lazarus.
> > - Set compiler to 64-bit compiler
> > - Build Lazarus
> > Voila...
> >
> > Solution:
> > use make to build initial 64-bit IDE, then use this ide to do "build
> > lazarus".
>
> Did you change the target CPU in the build lazarus dialog?
Nope, nothing is set explicitly.
When not set, doesn't it determine it from the compiler binary ?
Or does it take the same CPU as the IDE was compiled for ?
That would explain the behaviour, of course...
Michael.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives