[fpc-devel] unicodertl fails to compile on darwin

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Sep 8 10:05:36 CEST 2024


Hi,

Following the instructions on the wiki compiling the subtarget 
unicodertl fails.

Wiki:

https://wiki.freepascal.org/FPC_Unicode_RTL#Compiling_the_namespaced_unicode_RTL

Compiling rtl works, but compiling packages fails:

make -C rtl clean all SUB_TARGET=unicodertl FPC_DOTTEDUNITS=1 PP=/path/to/fpc/3.3.1/ppcx64
make -C packages clean all SUB_TARGET=unicodertl FPC_DOTTEDUNITS=1 PP=/path/to/fpc/3.3.1/ppcx64

with:

system.regularexpressionscore.pp(40,96) Fatal: Can't find unit 
Api.PCRE2_16 used by System.RegularExpressionsCore
Fatal: Compilation aborted

Same with passing

OPT=-dUSEWIDESTRING

Btw, is this -dUseWideString needed or not?

This is on macos darwin.

Mattias

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20240908/e7d8db0f/attachment.htm>


More information about the fpc-devel mailing list