[fpc-pascal] Cannot build RTL for native NT

Andre Tampubolon andre at lc.vlsm.org
Sun Sep 11 16:28:24 CEST 2011


These were the steps I did (based on http://wiki.freepascal.org/Target_NativeNT)

1. Check out svn.freepascal.org/svn/fpc/trunk (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:

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

Any idea?
FYI, I'm using FPC 2.4.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20110911/bfba42d8/attachment.html>


More information about the fpc-pascal mailing list