From: chris AT select DOT u-net DOT com (+Chris) Newsgroups: comp.os.msdos.djgpp Subject: Re: Using GCC: the first Win32 program. Message-ID: <370724be.19291682@news.u-net.com> References: <3706bde4 DOT 2218612 AT news DOT u-net DOT com> <2nzN2.1761$8Y3 DOT 232214 AT newsfeed DOT slurp DOT net> <3706f1ec DOT 6279779 AT news DOT u-net DOT com> <1ADN2.2126$8Y3 DOT 274862 AT newsfeed DOT slurp DOT net> X-Newsreader: Forte Free Agent 1.11/32.235 Lines: 50 NNTP-Posting-Host: 195.102.191.28 X-Complaints-To: news AT u-net DOT net X-Trace: newsr2.u-net.net 923215437 195.102.191.28 (Sun, 04 Apr 1999 09:43:57 BST) NNTP-Posting-Date: Sun, 04 Apr 1999 09:43:57 BST Organization: (Posted via) U-NET Internet Ltd. X-Real-Host: 195.102.191.28 Date: Sun, 04 Apr 1999 08:41:46 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I checked for the file libmain.a and there is one in rsxntdj/lib/all ive also replaced the *link: setting with the one you surgested and it still gives me the same error: c:/djgpp/bin/ld.exe: cannot open -lmain: No such file or directory (ENOENT) this was previously in my specs file, i added it when looking for answers elsewhere: *link: %{Zwin32: -Le:/djgpp/rsxntdj/lib/all -Le:/djgpp/rsxntdj/lib/%{Zmt:m}%{!Zmt:s}t} any other idea to correct this prob? thanx again 4 the help. On Sat, 3 Apr 1999 23:23:02 -0700, "robert bowman" wrote: > >+Chris wrote >> >> this is the output returned from 'gcc -v' >> Reading specs from c:\RSXNTDJ/lib/specs > >OK, it is using the correct spec file, apparently. Take a look at specs, and >make sure that you see something like > >*link: >%{Zwin32: -Lc:/rsxntdj/lib/all -Lc:/rsxntdj/lib/st} > >where the path is pointing to the directory containing libmain.a. Then make >sure there >really is a libmain.a in rsxntdj/lib/all. > > > >