delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/28/07:34:52

Date: Mon, 28 Oct 1996 15:03:04 +0200 (EET)
From: "Adrian G. Oboroc" <ash AT cinf DOT usm DOT md>
To: eidolon <feller AT ainop DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: help me please.
In-Reply-To: <3.0b36.32.19961027142859.006aa068@mail.geocities.com>
Message-Id: <Pine.LNX.3.91.961028145637.10106A-100000@cinf.usm.md>
Mime-Version: 1.0


On Sun, 27 Oct 1996, eidolon wrote:

> i am getting the error message c:/djgpp/bin\ld.exe: cannot open linker
> script file djgpp.lnk: No such file or d
> irectory (ENOENT)
> when i try to compile with gcc.
> i have unzipped all the basic files. 
> why is this happening?
> 

Probably you use gcc to compile C++ program. While using gcc for C++ 
programs, you must specify location of C++ libraies manualy, otherwise 
you'll get ld error. Probably the best solution is to use gxx (install 
g++ and it's libs first) instead of gcc, because it automaticly add c++ 
libs while linking executable. And final tip: read FAQ carifully, it's a 
very good guide for beginers, like me and you =)

Best wishes, AsH

- Raw text -


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