Ryan Joseph <r...@thealchemistguild.com> schrieb am Mi., 8. Aug. 2018, 00:02:
> If I cd to the rtl directory in the fpc sources and run make they are > compiled into the /rtl/units/x86_64-darwin directory. > > 1) How do I compile the ppc386 units? the readme says there’s a FPC > variable for on the makefile configs but I can’t find it. > Pass CPU_TARGET=i386 to the call to make. Though you need to use a ppc386 that. Best do a "make cycle CPU_TARGET=i386" inside the "compiler" directory. This will build both the RTL and the compiler. > 2) After I make the units what switch can I use for fpc so it uses those > units instead of the default location? I tried -Fo and -Fu but it still > used the default rtl location. > Are you sure that you used the correct compiler? Try to pass -n to tell it to ignore the fpc.cfg and see whether it picks up the correct ones when you pass them with - Fu (-Fo is not required). You can also use -vut to see which locations the compiler tries to find units in and which it uses in the end. Regards, Sven Regards, Sven >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal