[fpc-pascal] Cannot build RTL for native NT

Sven Barth pascaldragon at googlemail.com
Mon Sep 12 13:05:16 CEST 2011


On 11.09.2011 16:28, Andre Tampubolon wrote:
> These were the steps I did (based onhttp://wiki.freepascal.org/Target_NativeNT)
>
> 1. Check outsvn.freepascal.org/svn/fpc/trunk  <http://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

Seems like there where some changes in the RTL... can you wait until 
Thursday? Then I'm done with my Bachelor thesis and can work again on 
all this :)

Also note please: since the latest changes of mine for the user mode 
part of the port I haven't tested the kernel mode variant. It's one my 
todo list for the next round of improvements.

Regards,
Sven



More information about the fpc-pascal mailing list