Mail Archives: djgpp/1999/03/25/17:55:20
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 -