[fpc-devel]Still not building on Win XP

Ken Linder kc7rad at radstream.com
Sun Jul 18 18:07:04 CEST 2004

Thanks all for the FAQ link and help.  I am able to compile things now but
when it tries to compile the RTL, this is what I get just before it stops:

c:/pp/bin/win32/ppc386.exe -dMT -Fi../inc -Fi../i386 -FE. -di386 dos.pp
Hint: End of reading config file c:\pp\bin\win32\fpc.cfg
Free Pascal Compiler version 1.9.2 [2004/01/08] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Win32 for i386
Compiling dos.pp
dosh.inc(73,3) Fatal: Syntax error, "=" expected but "identifier DOSERROR"

make[1]: *** [dos.ppu] Error 1
make[1]: Leaving directory `C:/fpc/rtl/win32'
make: *** [cycle] Error 2


It looks like the compiler is not recognizing the 'threadvar' keyword (see
dosh.inc).  I even went into the options.pas file and commented out the
line: def_symbol('HASTHREADVAR');   hoping that would fix it but it

Well, I am going to have my morning coffee and install fpc on my Linux box
and see if I can compile it there.


More information about the fpc-devel mailing list