delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/21/04:30:28

Xref: news2.mv.net comp.os.msdos.djgpp:4070
From: kfl AT access2 DOT digex DOT net (Keith F. Lynch)
Newsgroups: comp.os.msdos.djgpp
Subject: Help, I can't get it up!
Date: 20 May 1996 23:32:11 -0400
Organization: Express Access Public Access UNIX, Greenbelt, Maryland USA
Lines: 16
Message-ID: <4nrdfr$f7p@access2.digex.net>
NNTP-Posting-Host: access2.digex.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I just downloaded what readme.1st said was the minimum set of zip
files for djgpp (version 2) to my new pentium PC, and unzipped them.

I tried writing a trivial C program, and compiling it with
"gcc -c test.c" This appears to have worked, and uncomplainingly
produced a file test.o.  But when I tried linking test.o with
"gcc -o test.exe test.o -lm" it complains that bin/ld can't find
crt0.o.  I see that there is a file crt0.o in the lib subdirectory.

I have tried everything I can think of, but I keep getting the
same error, even for the program "main() {}".

Please help.  Thanks.
-- 
Keith Lynch, kfl AT access DOT digex DOT net
http://www.access.digex.net/~kfl/

- Raw text -


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