[fpc-devel] Unicode RTL for FPC
Mattias Gaertner
nc-gaertnma at netcologne.de
Fri Jan 13 11:22:37 CET 2023
On Sun, 8 Jan 2023 08:46:37 +0100 (CET)
Michael Van Canneyt via fpc-devel <fpc-devel at lists.freepascal.org>
wrote:
>[...]
> Should have been
>
> make install SUB_TARGET=unicodertl PP=path/to/the/new/compiler
This does not install the new compiler, so I used the compiler/ppcx64
exe directly to compile a program.
I see in the -va output:
[0.008] Hint: Start of reading config file /etc/fpc-unicodertl.cfg
[0.008] Handling option "-dUNICODERTL"
[0.008] Interpreting option "-dUNICODERTL"
[0.008] Macro defined: UNICODERTL
[0.008] Handling option "-Municodestrings"
[0.008] Interpreting option "-Municodestrings"
[0.008] Macro defined: FPC_UNICODESTRINGS
[0.008] Macro defined: UNICODE
[0.008] Hint: End of reading config file /etc/fpc-unicodertl.cfg
But then it uses the wrong unit paths:
[0.012] Using unit path: /usr/lib/fpc/3.3.1/units/x86_64-linux/httpd22/
It should be:
[0.012] Using unit path:
/usr/lib/fpc/3.3.1/units/x86_64-linux-unicodertl/rtl/
My /etc/fpc.cfg contains:
# searchpath for units and other system dependent things
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl
Mattias
More information about the fpc-devel
mailing list