<div><span style="background-color: rgb(255, 255, 255); "><pre style="color: rgb(17, 17, 17); font-family: 'Trebuchet MS', Arial, Verdana, sans-serif; font-size: medium; ">These were the steps I did (based on <a href="http://wiki.freepascal.org/Target_NativeNT" target="_blank">http://wiki.freepascal.org/Target_NativeNT</a>)

1. Check out <a href="http://svn.freepascal.org/svn/fpc/trunk">svn.freepascal.org/svn/fpc/trunk</a> (revision 19048), put it into C:\Downloads\Software\fpc

2. Build ppc386 and fpcmake, then put it into C:\fpc-nativent

4. Build the RTL:</pre><pre><font class="Apple-style-span" color="#111111" size="3">C:\Downloads\Software\fpc\rtl>make FPC=C:\fpc-nativent\ppc386.exe OS_TARGET=nativent OPT="-dKMODE"
make -C nativent all
make[1]: Entering directory `C:/Downloads/Software/fpc/rtl/nativent'
C:/fpc-nativent/ppc386.exe -Tnativent -XPi386-nativent- -Xr -Fi../inc -Fi../i386 -Fiddk -Findk -FE.
-FU../../rtl/units/i386-nativent -dKMODE -di386  -Us -Sg system.pp
systhrd.inc(91,17) Warning: range check error while evaluating constants
systhrd.inc(97,17) Warning: range check error while evaluating constants
systhrd.inc(103,17) Warning: range check error while evaluating constants
systhrd.inc(108,17) Warning: range check error while evaluating constants
systhrd.inc(113,17) Warning: range check error while evaluating constants
sysfile.inc(126,10) Warning: User defined: do_rename: Implement file copy!
sysdir.inc(86,2) Warning: User defined: Add check for subdirectories
system.pp(147,4) Warning: User defined: cmdline is not set
system.pp(236,6) Warning: User defined: Use UnicodeToUTF8 for argument conversion
systemh.inc(1105,11) Error: Forward declaration not solved "SysInitStdIO;"
system.pp(447) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[1]: *** [system.ppu] Error 1
make[1]: Leaving directory `C:/Downloads/Software/fpc/rtl/nativent'
make: *** [nativent_all] Error 2</font><font class="Apple-style-span" color="#111111" face="'Trebuchet MS', Arial, Verdana, sans-serif" size="3">
<br></font></pre><pre><font class="Apple-style-span" color="#111111" face="'Trebuchet MS', Arial, Verdana, sans-serif" size="3">Any idea?
FYI, I'm using FPC 2.4.4</font></pre></span></div>