[fpc-devel] Unicode RTL for FPC

Michael Van Canneyt michael at freepascal.org
Fri Jan 13 11:36:21 CET 2023



On Fri, 13 Jan 2023, Mattias Gaertner via fpc-devel wrote:

> 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/

I am aware of this one.

This is fixed since some time but not yet pushed.

I will push this change together with many others later today.

I'm busy fixing pas2js resolver failures :-)

All packages compile using unicode meanwhile, json/xml work fine, 
pas2js for the most part as well, just the resolver needs some work. 
Down to 3 errors in the testsuite. Coming from over 2000 failures initially :/

Michael.


More information about the fpc-devel mailing list