<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr">Ryan Joseph <<a href="mailto:ryan@thealchemistguild.com">ryan@thealchemistguild.com</a>> schrieb am Mi., 8. Aug. 2018, 00:02:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<br>
<br>
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.<br></blockquote></div><div dir="auto"><br></div><div dir="auto">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. </div><div dir="auto"><br></div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
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.<br></blockquote></div><div dir="auto"><br></div><div dir="auto">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. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div>