[fpc-pascal] Bootstrapping FPC for x86_64
Joost van der Sluis
joost at cnoc.nl
Mon Nov 24 11:13:47 CET 2008
Op maandag 24-11-2008 om 12:04 uur [tijdzone +0200], schreef Graeme
Geldenhuys:
>
> Questions:
>
> 1) I see it's generating a i386 compiler and not a x86_64 compiler???
> Maybe that's because I copied my 32bit FPC 2.2.3 directory to the
> 64bit server?
No, that's because you used a 32-bit start-compiler
> 2) No idea what the error means. I do have a /usr/lib/crti.o file. But
> maybe that's due to the server being 64bit and FPC is generating a
> 32bit executable.
Indeed. Run 'file /usr/lib/crti.o' and you'll see
> 3) Can I bootstrap a 64bit FPC without any previous FPC compiler? I
> don't want to download 35MB's FPC 2.2.2 just to recompile 2.2.3
You only need the file 'ppcx64' or you have to cross-compile. But
cross-compiling from 32bit to 64bit is a bit hard, and if I remember
correctly even not possible for all versions of fpc.
Joost.
More information about the fpc-pascal
mailing list