[fpc-devel] rtl/darwin/Makefile.fpc
Pierre Muller
pierre at freepascal.org
Fri Jan 23 15:51:29 CET 2026
Le 23/01/2026 à 15:25, Adriaan van Os via fpc-devel a écrit :
> Pierre Muller via fpc-devel wrote:
>> rtl Makefile's need to be regenerated with a special command line:
>>
>> Try to use
>> cd rtl
>> ./regenmakefiles.sh
>>
>> This will call fpcmake with this command line:
>>
>> fpcmake -T$TARGETS -q -x $RTLDIR/inc/Makefile.rtl
>>
>>
>> the "-x $RTLDIR/inc/Makefile.rtl" part is essential,
>> as it contains many make rules.
>
> Thanks ! That fixes the problem.
>
> The fpcmake that comes with the bootstrapping 3.2.2 compiler doesn't seem to have -x. How is that
> handled ?
Makefile's inside git repository should always stay in sync,
meaning that they should be re-generated after changes made, either to utils/fpcm,
to any Makefile.fpc or to rtl/inc/Makefile.rtl, and pushed to the repository.
You should never need to regenerate Makefile's unless you modify any of the files listed above.
You should use latest trunk fpcmake to regenerate any Makefile on trunk branch.
Pierre
More information about the fpc-devel
mailing list