Hello!
According to Bendersky:
Is there some CRT unit to use with GPC? Because I don't want to install the BPCompat kit, so it's unit doesn't work.
What's wrong with the CRT in `BPcompat'?
Or if there is no CRT unit, is there some way to use the stdio.h header file? Specially the getchar function.
Which system are you running? DOS/DJGPP?
You can access each function of your system's C library from GNU Pascal; see the GPC FAQ list at http://home.pages.de/~GNU-Pascal/gpc-faq.html.
If you need a C "FILE" structure, you can use GPC's `GetFile' function to extract it from a Pascal file type (only available in recent beta/ alpha versions).
Hope this helps,
Peter