Free pascal for OS development problem 
Author Message
 Free pascal for OS development problem

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.
thanx
ben



Fri, 19 Dec 2003 02:29:31 GMT  
 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.



Fri, 19 Dec 2003 05:50:11 GMT  
 Free pascal for OS development problem

Quote:
> What symbols are missing? Also check the manual, it might have a paragraph
> somewhere about recompiling system.

yeah - basicly it is the system unit that is missing . there is the template
version in the source\rtl folder that sets out how to write a new header.
i have realised ill hav to rename it syswin32 for now though and link that
in instead of the version that the compiler usually wants to link in.


Sat, 20 Dec 2003 02:13:06 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Free pascal compiler for OS/2

2. ****** New Os Development Idea ******

3. FA: Virtual Pascal for OS/2, RexxVIM for OS/2

4. Borland Pascal problem running under DOS OS/2 session

5. Installation problem with Borland Pascal under OS/2

6. Free tool for report development

7. Free tool for reports development

8. Visual Pascal for OS/2, now at Pascal Central

9. Visual Pascal for OS/2, now at Pascal Central

10. Problem with Free Pascal/Windows 2000 Pro

11. Hi Back again with printing problem in Free pascal for linux

12. problems with Free Pascal Editor IDE for FPC

 

 
Powered by phpBB® Forum Software