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
Op 2019-10-08 om 17:02 schreef fredvs:
The script first clean everything and do the compilation of fpc with ppcx64
and all seems ok.
But, when the compilation is ok and a "new" ppcx64 is created, I dont know
why, the process continue, remove all was already done, recompile all using
ppc386 (fpc
Hello.
> Write you later.
+
> You can fix your problem simply by adding explicitly
> FPC=$COMPILER
> to the make install line.
Ooops, ok, I think I get it (maybe):
I have to add the compiler used for "make install" too, like this:
make FPC=$COMPILER install INSTALL_PREFIX=/usr/lib/fpc/$TARGET
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
Le 08/10/2019 à 17:02, fredvs a écrit :
> Hello.
>
> I have a strange result while compiling fpc from
> https://svn.freepascal.org/svn/fpc/branches/fixes_3_2/.
>
> Here, on Linux Debian 10.1 multi-arch (64 bit + 32 bit), when I do
> compilation with that script:
> --
> #!/bin/sh
Hello.
I have a strange result while compiling fpc from
https://svn.freepascal.org/svn/fpc/branches/fixes_3_2/.
Here, on Linux Debian 10.1 multi-arch (64 bit + 32 bit), when I do
compilation with that script:
--
#!/bin/sh
cd fixes_3_2
TARGET_VER=3.2.0
TARGET=x86_64-linux
COMP