Hi guys,

I have a problem with compiling my first Pascal program. This directly after my Installation of GNU pascal. The problem is:

I installed the latest version of GNU Pascal compiler on my PC with windows XP Pro. I wrote my code in Emacs at the same PC. Then I used my DOS-prompt and went to the route of the file that contained my code and wrote the command:

gpc <filename>.p and enter. D:\DOCUME~1\ADMINI~1\Desktop\...\Pascal\INLUPP~1>gpc Inlupp1.p

 

I got first some errors in compilation. I made necessary changes in the code and run again. At this moment it should not give any fault and a specific *.exe file should be created.

Instead I got this Answer from the compiler:

D:\Djgpp\bin/ld.exe: cannot open crt0.o: No such file or directory (ENOENT)

That was strange. As you know the Crt0.o is the standard run-time startup routine (crt0.o). Now, I checked under the Djgpp\bin and I could find the ld.exe file. I checked also the crt0.o file in Djgpp and exists in lib directory:

D:\Documents and Settings\Administrator\Desktop\...\Pascal\Djgpp\lib

I checked the property of crt0.o file. It was not empty and it had attribute archive.

My question is when does this appear and what does it depend on ?

Is it not that "\bin/ld.exe" should be "\bin\ld.exe" or that is not the problem what can be the reason ?

 

Best Regards /b



Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now