[Lazarus] while make lazarus x64, get i386 error
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Feb 23 09:33:53 CET 2015
On Mon, 23 Feb 2015 08:21:23 +0100
zeljko <zeljko at holobit.net> wrote:
> On 02/22/2015 07:44 PM, Mattias Gaertner wrote:
> > On Sun, 22 Feb 2015 19:23:27 +0200
> > FreeMan <freeman35 at delphiturkiye.com> wrote:
> >
> >> while lazarus make CPU_TARGET=x86_64 OS_TARGET=darwin LCL_PLATFORM=qt
> >> If ppc386 not in path, I get this error. ppcx64 is there, make fpc i386
> >> then run again lazarus make CPU_TARGET=x86_64 OS_TARGET=darwin
> >> LCL_PLATFORM=qt IDE maked
> >>
> >> Makefile:2332: warning: overriding commands for target `.'
> >> Makefile:2330: warning: ignoring old commands for target `.'
> >> Free Pascal Compiler version 3.1.1 [2015/02/22] for x86_64
> >> Copyright (c) 1993-2015 by Florian Klaempfl and others
> >> (1002) Target OS: Darwin for x86_64
> >> (3104) Compiling fcllaz.pas
> >> (3104) Compiling registerfcl.pas
> >> (3104) Compiling lazaruspackageintf.pas
> >> (9009) Assembling lazaruspackageintf
> >> /opt/lazarus/packager/registration/registerfcl.pas(45,22) Fatal: (10022)
> >> Can't find unit process used by RegisterFCL
> >> Fatal: (1018) Compilation aborted
> >> make[1]: *** [fcllaz.ppu] Error 1
> >> make: *** [registration] Error 2
> >
> > Where is the x86_64 process.ppu and have you added that to
> > your /etc/fpc.cfg?
>
> It is there where it should be. Such thing happens on osx 64bit only
> when lazarus is built from IDE and "Update revision.inc" is checked.
The above is a compiler error.
If "Update revision.inc" makes a difference for compiling fcl.lpk,
that would be voodoo.
> Tested with CPU_TARGET=x86_64 OS_TARGET=darwin, and also setted up
> compiler in laz config to ppcx64 and without CPU_TARGET and OS_TARGET.
> From terminal it builds ok.
> make bigide CPU_TARGET=x86_64 OS_TARGET=darwin LCL_PLATFORM=qt
Please click on Messages / About / About compiling package FCL to find
out the fpc parameters.
Compare that with the parameters used by "make". Do you see a
difference?
Mattias
More information about the Lazarus
mailing list