delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/23/20:23:08

Message-ID: <368196F6.5A5A8005@montana.com>
Date: Wed, 23 Dec 1998 18:20:54 -0700
From: bowman <bowman AT montana DOT com>
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>
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.

- Raw text -


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