Mail Archives: djgpp/1996/10/28/07:34:52
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 -