[fpc-devel] rtl/darwin/Makefile.fpc

Pierre Muller pierre at freepascal.org
Fri Jan 23 13:39:37 CET 2026


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.


Pierre

Le 23/01/2026 à 12:00, Adriaan van Os via fpc-devel a écrit :
> Trying to build some fpc-3.3.1 from git, I have some troubles with rtl/darwin/Makefile recreated
> from rtl/darwin/Makefile.fpc.
> 
> I tried both
> 
> cd rtl/darwin
> fpcmake -w -Tall
> 
> and
> 
> cd rtl/darwin
> fpcmake -w -Tx86_64-darwin,aarch64-darwin
> 
> But building the compiler (rtl) then results in
> 
> ...
> /Applications/Xcode.app/Contents/Developer/usr/bin/make -C darwin all
> /bin/mkdir -p /Users/administrator/fpc-svn/source2/rtl/units/aarch64-darwin
> make[7]: *** No rule to make target `.ppu', needed by `sysinit.ppu'.  Stop.
> make[6]: *** [darwin_all] Error 2
> make[5]: *** [rtl] Error 2
> make[4]: *** [next] Error 2
> make[3]: *** [ppc1] Error 2
> make[2]: *** [cycle] Error 2
> make[1]: *** [compiler_cycle] Error 2
> make: *** [build-stamp.aarch64-darwin] Error 2
> logout
> 
> This doesn't happen when not recreating the Makefile. Is there a bug in rtl/darwin/Makefile.fpc ?
> 
> Regards,
> 
> Adriaan van Os
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel



More information about the fpc-devel mailing list