[Lazarus] while make lazarus x64, get i386 error
zeljko at holobit.net
Mon Feb 23 08:21:23 CET 2015
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: *** [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.
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
More information about the Lazarus