
Free pascal for OS development problem
Quote:
> Does anyone know how i would set up free pascal compiler to compile with out
> using the win32 system units etc which it by default links in.
> i tried using the -Us switch on the commandline but it then complains about
> a lot of other thinks being missing.
There was a fake RTL (see rtl/fake if you have sources), but it is probably
a bit outdated.
Also, try to compile an empty program without any other code yet.
Specially strings and sets need extra helpers in the system unit. Delphi
code even more.
What symbols are missing? Also check the manual, it might have a paragraph
somewhere about recompiling system.