delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/07/03/10:15:05

Date: Mon, 3 Jul 1995 09:53:11 -0400
From: kagel AT quasar DOT bloomberg DOT com
To: brownrf AT lilly DOT com
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: start up problems
Reply-To: kagel AT ts1 DOT bloomberg DOT com

   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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019