delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/16/11:58:15

Message-ID: <000001be6fce$14445040$906318cc@foltzt1.mdot.state.mi.us>
From: "Tom Foltz" <tfoltz AT lsd DOT k12 DOT mi DOT us>
To: <djgpp AT delorie DOT com>
Subject: Help
Date: Tue, 16 Mar 1999 16:35:52 -0012
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

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>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>#include&nbsp;&nbsp;&nbsp;=20
&lt;iostream.h&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>int&nbsp;&nbsp;&nbsp; =
main()</FONT></DIV>
<DIV><FONT size=3D2>{</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; cout &lt;&lt; &quot;Hello =
World!&quot;=20
&lt;&lt; endl;</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; return 0;</FONT></DIV>
<DIV><FONT size=3D2>}</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT size=3D2>I have looked through&nbsp; the FAQ and tried to =
research the=20
problem before coming to you, but have not been successful.&nbsp; My =
system is a=20
486 notebook with 12 meg of ram running windows 95.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>My AUTOEXEC.BAT file has these only these lines in=20
it:</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; set =
PATH=3DC:\DJGPP\bin;%PATH%</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; set =
DJGPP=3DC:\DJGPP\DJGPP.ENV</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT size=3D2>The ENVIRON.LST file reads as follows:</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; =
TMP=3DC:\WINDOWS\TEMP</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; =
TEMP=3DC:\WINDOWS\TEMP</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; PROMPT=3D$P$G</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; =
winbootdir=3DC:\WINDOWS</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; =
COMSPEC=3DC:\WINDOWS\COMMAND.COM</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; =
DJGPP=3DC:\DJGPP\DJGPP.ENV</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp;=20
PATH=3DC:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>GO32-V2 results in the following:</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; DPMI memory available: 8467 =
Kb</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; DPMI swap space available: 657=20
Kb</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</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.&nbsp; I can compile =
C=20
programs fine.&nbsp; I am new to this DJGPP, but have been working with =
PC's=20
professionally for 11 years.&nbsp; Any help&nbsp; will be =
appreciated.&nbsp;=20
Thank you.</FONT></DIV></BODY></HTML>

------=_NextPart_000_0004_01BE6FCB.0E67CB00--

- Raw text -


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