[fpc-pascal] Compile fpc 64 bit from /fixes_3_2/

fredvs fiens at hotmail.com
Tue Oct 8 20:11:37 CEST 2019


Hello Pierre, Marcov and everybody.

OK, the tip works!

So, to everybody, if you have a multi-arch system, always define the
compiler used in your make command-line.
Even for a "make install":

So a working script would be for 64/32 bit:
__________________

#!/bin/sh 

cd fixes_3_2

TARGET_VER=3.2.0 

TARGET=x86_64-linux 
               #(or i386-linux) 

COMPILER=/usr/lib/fpc/3.0.4/ppcx64
                  #( or ppc386)    

make clean
make all FPC=$COMPILER OPT="-Fl/usr/local/lib" 
make FPC=$COMPILER install INSTALL_PREFIX=/usr/lib/fpc/$TARGET_VER
___________________

Many tanks Pierre.

Huh, I forgot the boring question:

When this:

> Free Pascal Compiler version 3.2.0-beta [2019/10/08] for x86_64:
> Copyright (c) 1993-2018 by Florian Klaempfl and others

will become that?:

> Free Pascal Compiler version 3.2.0 [2019/10/08] for x86_64:
> Copyright (c) 1993-2019 by Florian Klaempfl and others

;-)

Fre;D







-----
Many thanks ;-)
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/


More information about the fpc-pascal mailing list