Mail Archives: djgpp/1999/01/20/17:39:32
I have compiled my first program using c++ the obvious hello world it
didn't compile using cout. When I compiled it using the command line it
didn't compile using g++ and gcc showing the error no such file lstdcx I
read de faqs and there it say you must set the path to djgpp/lib it didn't
compile either. Why it is a file named liblstdcxx when it ask for
something like lstdcx? Renaming this file to liblstdcx.a and running rhide
sudenly it have compiled. I don't know if this was the problem but maybe
isn't it?
__________________________________________________________________________
|| ||
||**********************************************************************||
||______________________________________________________________________||
|| ||
|| ||
||Ismael Herrera Z. ||
||Maestria en Ciencias de la Computacion (MCC) IIMAS UNAM Mexico ||
||ihz AT uxmcc2 DOT iimas DOT unam DOT mx ||
||http://uxmcc1.iimas.unam.mx/~ihz ||
|| ||
||tel. 6 22 36 52 ||
|| ||
|| ||
|| ||
|| ||
||______________________________________________________________________||
|| ||
||**********************************************************************||
||______________________________________________________________________||
On 20 Jan 1999, Wendy Eubank wrote:
> I am having the Exact Same problem...
>
> and followed the same steps as you
>
> Did I miss something in the setup...
>
>
>
> Steve wrote in message <3 DOT 0 DOT 1 DOT 32 DOT 19990119011116 DOT 006b8cd4 AT soli DOT inav DOT net>...
> > I wonder if you anyone can help me out with a problem I am having with
> DJGPP?
> > I used the Delorie zip-picker utility to download the zip files
> > I unzipped all the zip files...the directory structure was presevered
> and long file names were also used.
> > I also downloaded RHIDE which works fine apart from the following
> problem.
> >
> > My first C program looks like this:
> > #include <iostream.h>
> > int main ()
> > {
> > cout << "Hi";
> > return 0;
> > )
> >
> > When I try and compile it, it gives me the message that there is no
> such file or directory as iostream.h (EOENT). I have tried putting the
> direct path in using these lines as well:
> > #define STANDARD_INCLUDE_DIRECTORY C:/DJGPP/lang/cxx
> > #include "C:/Djgpp/lang/cxx/iostream.h"
> >
> > My autoexec.bat file has had these 2 lines added to it:
> > set DJGPP=C:\DJGPP\DJGPP.ENV
> > set PATH=C:\DJGPP\BIN;%PATH%
> >
> > and the top few lines of the djgpp.env file look like this:
> > set DJGPP=c:/djgpp/djgpp.env [I've tried with and without this line]
> > DJDIR=%:/>DJGPP%
> > +USER=dosuser
> > +GROUP=root
> > +TMPDIR=%DJDIR%/tmp
> > +EMU387=%DJDIR%/bin/emu387.dxe
> > +LFN=y
> > +TEXMFMAIN=%DJDIR%/share/texmf
> >
> >
> >
> > Thanks
> > Steve Carlo
> >
> ><<<<
> >
> >
> >****************************************************
> >This is a certified authentic email message from Steve
> >http://soli.inav.net/~monte
> >****************************************************
> >
>
>
>
- Raw text -