Mail Archives: djgpp/1999/07/11/04:29:03
On Sun, 11 Jul 1999, Leonardo A. Saravia wrote:
> I have installed DJGPP and can compile C/C++ programs without problems.
> Recently I installed g77 and when I try the compile/link command: g77 -o
> count.exe count.f
> always receive the followin error:
>
> C:\DJGPP\BIN/ld.exe: cannot open crt0.o: No such file or directory (ENOENT)
When you installed g77, you screwed something in the DJGPP installation,
probably because g77 comes with a different version of GCC as its
back-end.
Add -v to the compilation command line, redirect g77's stderr to a file
and examine what the compiler prints during compilation. You should be
able to see where does it look for crt0.o, which should be a clue as to
where the problem is. If you cannot figure this out, post the redirected
print-out here, and somebody will help you.
- Raw text -