Johan Larsson wrote:
Hi,
I've tried to install GPC together with DJGPP and RHIDE. I get some very odd results. When attempting to compile .pas files the compiler report:
"cannot open crt0.o: No such file or directory (ENOENT)"
It appears as the lib path cannot be reached.
You need to set some environment variables - for example, my AUTOEXEC.BAT has these entries; set DJGPP=c:\gpc\djgpp.env set LIBRARY_PATH=c:\djgpp\lib
Furthermore, the following program does not compile (parse error at the class model though -fobject-pascal -fextended-pascal is enabled):
program classes; type efClass = class constructor Create; end;
I don't think that the "Class" construct is supported yet. That is a Delphi thing. With GPC, use "Object". You can download the bpcompat package and look at the OBJECTS unit therein.
Best regards, The Chief -------- Dr. Abimbola A. Olowofoyeku (The African Chief) Email: laa12@keele.ac.uk Homepage: http://ourworld.compuserve.com/homepages/African_Chief/ Author of: Chief's Installer Pro 4.12 for Win16 and Win32: ftp://ftp.simtel.net/pub/simtelnet/win3/install/chief412.zip