From: Vic 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 <--