From: "robert bowman" Newsgroups: comp.os.msdos.djgpp References: <3706bde4 DOT 2218612 AT news DOT u-net DOT com> Subject: Re: Using GCC: the first Win32 program. Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Message-ID: <2nzN2.1761$8Y3.232214@newsfeed.slurp.net> Date: Sat, 3 Apr 1999 18:36:03 -0700 NNTP-Posting-Host: 208.4.224.52 X-Trace: newsfeed.slurp.net 923189822 208.4.224.52 (Sat, 03 Apr 1999 19:37:02 CST) NNTP-Posting-Date: Sat, 03 Apr 1999 19:37:02 CST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com +Chris wrote > > > c:/djgpp/bin/ld.exe: cannot open -lmain: No such file or directory do a gcc -v from the command prompt and see where its reading the specs file from. If it is properly picking up the file from rsxntdj/lib, check to see that you have correctly edited the specs file to point to the rsxntdj library. libmain.a lives in rsxntdj/lib/all. note: in the above, rsxntdj refers to whatever path you are using.