Mail Archives: djgpp/1995/07/03/10:15:05
Errors-To: postmaster AT ns1
Xref: news-dnh.mv.net comp.os.msdos.djgpp:726
Path: news-dnh.mv.net!mv!news.sprintlink.net!gatech!newsjunkie.ans.net!inet.d48.lilly.com!hera.d50.lilly.com!user
Newsgroups: comp.os.msdos.djgpp
From: brownrf AT lilly DOT com (Ray Brown)
Date: 30 Jun 95 08:32:28 EST
Organization: Lilly Research Laboratories
I installed the gcc part of the package as described in the readme.dj
file. Everything went great even the two test programs that came with
it. I swithched to the samples\hello directory - still fine. Wrote a few
simple programs - still okay. Then I tried some of the test files (t01.c
.....) and began getting the following error.
c:/djgpp/bin/ld.exe: cannot open crt0.o: file not found ,(even though it's
right there)
Now everything that ran before gives this message. I've tried
reinstalling parts of the package, esp. djgpp.env but no luck. What next?
rfb
You usually get this when you try to run ld yourself rather than letting gcc do
the linking. To link manually you need to include c:/djgpp/lib/crt0.o in the
object list. However, gcc takes care of this, and other niceities for you.
--
Art S. Kagel, kagel AT ts1 DOT bloomberg DOT com
Kagel's Second Law of Programming:
Always keep in mind, programmers are lazy. If one keeps this always
present in mind: 1) one will always understand why a particular piece of code
was written a particular way, and 2) one will always write good, clean, simple
code.
- Raw text -