delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/23/21:44:41

Message-ID: <3681A817.3A96243A@scifi-fantasy.com>
Date: Wed, 23 Dec 1998 21:33:59 -0500
From: Strider Centaur <strider AT scifi-fantasy DOT com>
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>
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.



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019