www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/25/17:55:20

Message-Id: <199903252058.BAA20751@cal2.vsnl.net.in>
From: "Paromita Ghosh" <paro AT cal2 DOT vsnl DOT net DOT in>
To: <djgpp AT delorie DOT com>
Subject: Problems with GJGPP
Date: Fri, 26 Mar 1999 00:18:10 +0530
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Hello DJGPP users,

I found some problems while compiling the following program.I used RHIDE
1.4
in an Win95 DOS box. It was compiled to a .o file (by pressing Alt+F9) but 
while creating .exe(By pressing F9), it gives the following error message:

"Error: c:/gcc/bin/ld.exe: cannot open -lstdcx: No such file or 
directory (ENOENT)"

and the .exe file is not created.I installed everything under the directory
c:\gcc, all the files are properly installed. Environment variables
are set correctly in AUTOEXEC.BAT. Default djgpp.env under c:\gcc is used
with setting "+LFN=y"

Installed files are: 
djdev201.zip, gcc2721b.zip, bnu27b.zip, gpp2721b.zip, lgp271b.zip,
txi390b.zip,objc281.b.zip, rhide14b.zip   

/*----simple.cpp-----*/
#include <stdio.h>
#include <iostream.h>

class personcal /*Defining a simple class with just one method*/
{
public :
name ()
{
cout <<"DJGPP_user";
};
main ()
{
personcal per1;
per1.name ();/*Calling the method*/
}

I will be thankful if anybody can point to the cause of error and suggest
a way to get going with it.

Abhisek Ghosh.

- Raw text -


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