delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/22/11:32:51

From: Vic <tudor AT cam DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: weird GCC invoking: BUG?
Date: Mon, 22 Dec 1997 10:46:04 -0500
Organization: Communications Accessibles Montreal, Quebec Canada
Lines: 7
Message-ID: <349E8B3C.1D20@cam.org>
NNTP-Posting-Host: dynappp-98.hip.cam.org
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

If I say gcc, it will give me a "no imput files" error.
But If I say "gcc -lsomething" it will say "crt0.s: undefined references
to main". Why?? I'm still not providing any sources...
Is it because a lib file is just an archive of objects, which may
contain a main function?
-- 
--> http://www.cam.org/~tudor <--

- Raw text -


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