Message-ID: <3681A817.3A96243A@scifi-fantasy.com> Date: Wed, 23 Dec 1998 21:33:59 -0500 From: Strider Centaur Organization: Scifi-Fantasy X-Mailer: Mozilla 4.05 [en]C-DIAL (Win95; U) MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp To: djgpp AT delorie DOT com Subject: Re: Newbie ALERT Linking with RSXNTDJ error References: <3680C8DD DOT BDA8623B AT scifi-fantasy DOT com> <368196F6 DOT 5A5A8005 AT montana DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Thanks for the help you where right on target. I modified the SPECS file to support the -Zmt and -Zst as compile time switches and the example I cut and pasted had the all on the E drive while I use the C drive. I just over looked that one entry. Thanks again. Ron Burton bowman wrote: > 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.