[Lazarus] [SOLVED} fpcup: failure compiling Lazarus with FPC fixes_2.6 on OSX 10.7 x64, works with x86

Reinier Olislagers reinierolislagers at gmail.com
Mon Feb 27 11:21:47 CET 2012


On 14-2-2012 21:30, Reinier Olislagers wrote:
> We're trying to set up a Lazarus/FPC combo that's independent of any
> already installed fpc/Lazarus installs.
<snip>
> 
> The compiler is fixes_2.6, downloaded from SVN:
> /Users/reinier/fpc/bin/fpc.sh -i
> Free Pascal Compiler version 2.6.1
> 
> Compiler Date      : 2012/02/14
> Compiler CPU Target: x86_64
> 
> 
> make all (and some other things):
> make FPC=/Users/reinier/fpc/bin/fpc.sh
> --directory=/Users/reinier/lazarus FPCDIR=/Users/reinier/fpc/
> UPXPROG=echo COPYTREE=echo clean all
> fails:
> (full log attached)
> ...
> Compiling ./objc/lobjc.pas
> Assembling (pipe) ../../units/x86_64-darwin/carbon/lobjc.s
> ...
> NSValue.inc(317,13) Error: Illegal type conversion: "Pobjc_object" to
> "Single"
> NSValue.inc(327,13) Warning: Conversion between ordinals and pointers is
> not portable
> foundation.pas(31) Fatal: There were 2 errors compiling module, stopping
> Fatal: Compilation aborted
> 
> I suspect it's an error compiling carbon which IIRC, could/is/may not be
> supported on 64 bit?!?
> 
> (running plain make, using system wide 32 bit fpc, does run, so it could
> very well the 64 bit compiler that's the problem here - or the way I'm
> abusing make and fpc in fpcup...)

FYI, on the forum,
http://lazarus.freepascal.org/index.php/topic,16084.0.html
Jonas Maebe indicated compiling the cocoa widgetset apparently fails on
x64 and suggested I use an i386 compiler to compile Lazarus/LCL.

Regards,
Reinier




More information about the Lazarus mailing list