delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/20/16:16:48

Xref: news2.mv.net comp.os.msdos.djgpp:6195
From: Travis McIntosh <travismc AT gate DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Cannot find Crt0.o
Date: Sat, 20 Jul 1996 12:31:14 -0700
Organization: CyberGate, Inc.
Lines: 34
Message-ID: <31F13402.71A3@gate.net>
NNTP-Posting-Host: tpafl3-34.gate.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I have just downloaded DJGPP and have so far been unable to link 
any program because Crt0.o is never found.  Someone suggested I try the 
command line   redir -e text gcc -v -o test.exe test.c  where test.c is 
my program, and if it doesn't help to post the file, so here it is:
gcc version 2.7.2
 c:/djgpp/bin\cpp.exe -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 
-D__cplusplus -D__GNUC_MINOR__=7 -Dunix -Di386 -DGO32 -DMSDOS -D__unix__ 
-D__i386__ -D__GO32__ -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__MSDOS 
-Asystem(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386) test.cc 
C:\TEMP\ccbaaaaa
GNU CPP version 2.7.2 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 c:/djgpp/lang/cxx
 c:/djgpp/include
 c:/djgpp/contrib/grx20/include
 /usr/local/lib/g++-include
 /usr/local/include
 /usr/local/go32/include
 /usr/local/lib/gcc-lib/go32/2.7.2/include
 /usr/include
End of search list.
 c:/djgpp/bin\cc1plus.exe C:\TEMP\ccbaaaaa -quiet -dumpbase test.cc 
-version -o C:\TEMP\cccaaaaa
GNU C++ version 2.7.2 (80386, BSD syntax) compiled by GNU C version 
2.7.2.
 c:/djgpp/bin\as.exe -o C:\TEMP\ccdaaaaa C:\TEMP\cccaaaaa
 c:/djgpp/bin\ld.exe -o test.exe crt0.o C:\TEMP\ccdaaaaa -lgcc -lc -lgcc
c:/djgpp/bin\ld.exe: cannot open crt0.o: No such file or directory 
(ENOENT)

If anyone can tell me what my problem is I would be VERY grateful.

	Travis

- Raw text -


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