Message-ID: <368196F6.5A5A8005@montana.com> Date: Wed, 23 Dec 1998 18:20:54 -0700 From: bowman X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Newbie ALERT Linking with RSXNTDJ error References: <3680C8DD DOT BDA8623B AT scifi-fantasy DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Strider Centaur wrote: > > Im trying to compile a progam( example 31 ) from the winalleg examples. > I keep getting: > ld.exe: cannot open -lmain: No such file or directory (ENOENT) Does your spec file in /rsxntdj/lib point to /rsxntdj/lib/all as one of the library include paths? If you invoke gcc with the -Zwin32 flag, ld.exe will look for rsxnt startup code in libmain.a. Check to see if this file is in the directory, and the -L path to it is correct.