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

fredvs fiens at hotmail.com
Tue Oct 8 19:26:46 CEST 2019


Hello Pierre and thanks for answer.

> You can fix your problem simply by adding explicitly
> FPC=$COMPILER
> to the make install line. 

Huh, in the script that I use:

> ------------------
> #!/bin/sh
>
> cd fixes_3_2
>
> TARGET_VER=3.2.0
> TARGET=x86_64-linux
> COMPILER=/usr/lib/fpc/3.0.4/ppcx64
>
> make clean
> make all FPC=$COMPILER OPT="-Fl/usr/local/lib"
> make install INSTALL_PREFIX=/usr/lib/fpc/$TARGET_VER
> ------------------------ 

Do you mean that in the script? :

> COMPILER=/usr/lib/fpc/3.0.4/ppcx64
> ...
> make all FPC=$COMPILER OPT="-Fl/usr/local/lib"

Will not work, I have to use this one:

---> make all FPC=/usr/lib/fpc/3.0.4/ppcx64 OPT="-Fl/usr/local/lib

OK, I will try it.
But I still dont understand why there is a loop at compilation, this are the
steps:

1) clean all, 
2) then compile using ppcx64, 
3) clean all,  ----> why this loop ?
4) then compile using ppc386 ----> why this loop ?
5) install the complied data.

>  I suppose this all comes from the fact that the x86_64 Free pascal
> was installed before the i386 version, thus overwriting the x86_64 version
> of fpc binary.

Ha, ok, indeed i386 version was installed as last one.
If above script does not work, I will try this, reinstall  x86_64 Free
pascal over i386.

Many thanks.

Write you later.

Fre;D










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


More information about the fpc-pascal mailing list