[fpc-pascal] Cross Compile : treefilteredit.pas(60, 60) Error: Illegal expression
Luca Olivetti
luca at ventoso.org
Mon May 19 15:39:18 CEST 2014
El 19/05/14 13:43, Jonas Maebe ha escrit:
> To solve your problem:
> a) reinstall FPC 2.6.4 for x86-64 (to get the x86-64 versions of the
> utilities in /usr/bin back)
I already did it when I noticed that the make install replaced all
x86_64 files
> b) delete /usr/lib/fpc/2.6.4/ppc386
> c) rebuild the cross-compiler, but this time use "make crossinstall"
> instead of "make install" at the end (I've updated the wiki article)
I had to adapt the instructions:
sudo make all CPU_TARGET=i386 -> I dropped the sudo
sudo make crossinstall CPU_TARGET=i386 -> installed everything in
/usr/local/lib[*], I then manually moved that to /usr/lib64, so now I have:
in /usr/lib64/fpc/2.6.4
ppcross386
ppcx64
in /usr/lib64/fpc/2.6.4/units
i386-linux
x86_64-linux
Then I symlinked /usr/lib64/fpc/2.6.4/ppcross386 in /usr/bin (and
removed the stray ppc386 that I put there before) and this way it
worked, thank you.
[*]I tried playing with DESTDIR but it didn't change the installation
directory.
Bye
--
Luca
More information about the fpc-pascal
mailing list