[fpc-pascal] Cross Compile : treefilteredit.pas(60, 60) Error: Illegal expression
Luca Olivetti
luca at ventoso.org
Mon May 19 16:43:57 CEST 2014
El 19/05/14 16:01, Jonas Maebe ha escrit:
>> sudo make all CPU_TARGET=i386 -> I dropped the sudo
>
> If that worked, then the permissions on your system are broken (at least
> if you literally followed the instructions on that wiki page). Nothing
> under /usr should be writable for regular users.
No, I have the fpc sources in my home directory
>
>> sudo make crossinstall CPU_TARGET=i386 -> installed everything in
>> /usr/local/lib[*], I then manually moved that to /usr/lib64, so now I
>> have:
>
> You should not move anything to /usr, that directory belongs to your
> package manager (I thought we still wrongly put things there by default
> under Linux, but apparently that has been fixed; that's also why I,
> erroneously, mentioned /usr above). /usr/local is the correct
> destination for user-installed software and files.
Yes I know that but...
>
> Since an FPC-cross install is not complete on its own, you will actually
> also have to install a full x86-64 FPC installation under /usr/local. We
> do not and will not support mixing and matching installations spread
> over multiple installation prefixes (nor installations whereby you add
> files to directories that are reserved for the system/package manager).
..since I already had fpc installed via rpm, I didn't want to add
another installation in /usr/local.
Bye
--
Luca
More information about the fpc-pascal
mailing list