Mail Archives: djgpp/1999/03/16/11:58:15
This is a multi-part message in MIME format.
------=_NextPart_000_0004_01BE6FCB.0E67CB00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I am trying to compile the test program from within RHIDE using C++.
The following is the code:
#include <iostream.h>
int main()
{
cout << "Hello World!" << endl;
return 0;
}
During the link process I receive the following message:
c:/djgpp/bin/ld.exe : cannot open -lstdcx: No such file or directory =
(ENOENT)
I have looked through the FAQ and tried to research the problem before =
coming to you, but have not been successful. My system is a 486 =
notebook with 12 meg of ram running windows 95.
My AUTOEXEC.BAT file has these only these lines in it:
set PATH=3DC:\DJGPP\bin;%PATH%
set DJGPP=3DC:\DJGPP\DJGPP.ENV
There is no CONFIG.SYS file, although I did try one setting FILES=3D30 =
only and got the same results.
The ENVIRON.LST file reads as follows:
TMP=3DC:\WINDOWS\TEMP
TEMP=3DC:\WINDOWS\TEMP
PROMPT=3D$P$G
winbootdir=3DC:\WINDOWS
COMSPEC=3DC:\WINDOWS\COMMAND.COM
DJGPP=3DC:\DJGPP\DJGPP.ENV
PATH=3DC:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND
GO32-V2 results in the following:
DPMI memory available: 8467 Kb
DPMI swap space available: 657 Kb
I am sure this is probably a common problem and I am probably missing =
something real obvious, but I can't find it. I can compile C programs =
fine. I am new to this DJGPP, but have been working with PC's =
professionally for 11 years. Any help will be appreciated. Thank you.
------=_NextPart_000_0004_01BE6FCB.0E67CB00
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>I am trying to compile the test =
program from=20
within RHIDE using C++.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>The following is the =
code:</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>#include =20
<iostream.h></FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>int =
main()</FONT></DIV>
<DIV><FONT size=3D2>{</FONT></DIV>
<DIV><FONT size=3D2> cout << "Hello =
World!"=20
<< endl;</FONT></DIV>
<DIV><FONT size=3D2> return 0;</FONT></DIV>
<DIV><FONT size=3D2>}</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>During the link process I receive the following=20
message:</FONT></DIV>
<DIV><FONT size=3D2>c:/djgpp/bin/ld.exe : cannot open -lstdcx: No such =
file or=20
directory (ENOENT)</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>I have looked through the FAQ and tried to =
research the=20
problem before coming to you, but have not been successful. My =
system is a=20
486 notebook with 12 meg of ram running windows 95.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>My AUTOEXEC.BAT file has these only these lines in=20
it:</FONT></DIV>
<DIV><FONT size=3D2> set =
PATH=3DC:\DJGPP\bin;%PATH%</FONT></DIV>
<DIV><FONT size=3D2> set =
DJGPP=3DC:\DJGPP\DJGPP.ENV</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>There is no CONFIG.SYS file, although I did try one =
setting=20
FILES=3D30 only and got the same results.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>The ENVIRON.LST file reads as follows:</FONT></DIV>
<DIV><FONT size=3D2> =
TMP=3DC:\WINDOWS\TEMP</FONT></DIV>
<DIV><FONT size=3D2> =
TEMP=3DC:\WINDOWS\TEMP</FONT></DIV>
<DIV><FONT size=3D2> PROMPT=3D$P$G</FONT></DIV>
<DIV><FONT size=3D2> =
winbootdir=3DC:\WINDOWS</FONT></DIV>
<DIV><FONT size=3D2> =
COMSPEC=3DC:\WINDOWS\COMMAND.COM</FONT></DIV>
<DIV><FONT size=3D2> =
DJGPP=3DC:\DJGPP\DJGPP.ENV</FONT></DIV>
<DIV><FONT size=3D2> =20
PATH=3DC:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>GO32-V2 results in the following:</FONT></DIV>
<DIV><FONT size=3D2> DPMI memory available: 8467 =
Kb</FONT></DIV>
<DIV><FONT size=3D2> DPMI swap space available: 657=20
Kb</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>I am sure this is probably a common problem and I am =
probably=20
missing something real obvious, but I can't find it. I can compile =
C=20
programs fine. I am new to this DJGPP, but have been working with =
PC's=20
professionally for 11 years. Any help will be =
appreciated. =20
Thank you.</FONT></DIV></BODY></HTML>
------=_NextPart_000_0004_01BE6FCB.0E67CB00--
- Raw text -