Recent

Author Topic: Dotted RTL how to use  (Read 465 times)

my_only_lonely

  • New member
  • *
  • Posts: 9
Dotted RTL how to use
« on: June 12, 2025, 05:50:29 am »
I have read the doc https://wiki.freepascal.org/FPC_Dotted_RTL, and compiled a new RTL. But how can I use this version of RTL, is there any switch I should add?
Lazarus still cannot compile when uses a dotted unit, like System.Generics.Collections, it says it cannot find the unit.

PascalDragon

  • Hero Member
  • *****
  • Posts: 6035
  • Compiler Developer
Re: Dotted RTL how to use
« Reply #1 on: June 13, 2025, 11:19:11 pm »
You need to make sure that the fpc.cfg of the compiler that Lazarus uses points to the correct RTL (maybe even with a separate ifdef so that you can relatively easily switch between dotted and non-dotted RTL).

 

TinyPortal © 2005-2018