Reply-To: "Jorge Ivan Meza Martinez" From: "Jorge Ivan Meza Martinez" To: "Fernando Manoel Cambraia Guedes" , , "Brian Gladman" Subject: RE: bugs with c++ compiler Date: Wed, 15 Jul 1998 20:39:48 -0500 Message-ID: <01bdb05a$9ea06960$LocalHost@default> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Precedence: bulk Hello, from DJGPP FAQ: "... Note that the first release of DJGPP v2.0 didn't include `gxx.exe' and the C++ STL library `libstdcx.a.' If you cannot find them on your machine, download the latest `gcc272b.zip' and `lgp271b.zip' archives that are dated 22-Feb-96 or later, or upgrade to DJGPP v2.01. ..." check that you have the complete files needed to compile your program; the latest versions that I got was gcc281b.zip & lgp2811b.zip with these your sample program compiles. you need LFN=y if you unzipped the files with long file names. jorge ivan meza martinez http://members.xoom.com/THP jimeza AT usa DOT net -----Original Message----- De: Fernando Manoel Cambraia Guedes Para: djgpp AT delorie DOT com Fecha: Miércoles 15 de Julio de 1998 07:16 AM Asunto: bugs with c++ compiler >I've got some trouble while trying to compile c++ code. In fact, I made >a simple program to test the compiler: > >#include >main() >{ > cout << "testando"; >} > >I use RHIDE for developping with djgpp. At the first try, LFN was set to >'n', and I've got the following error (the comand line was called by >RHIDE): > >command -> gcc -g -c teste.cpp -o teste.o > >error -> e:/djgpp/lang/cxx/iostream.h(31) Error: streambuf.h: No such >file or directory (ENOENT) > >When I changed LFN to 'y', the long filename problem went out, but this >new problem appeared at the link phase: > >command -> gcc -o teste.exe teste.o -lstdcx > >error -> e:/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or >directory (ENOENT) > >I tried to solve the problem by the FAQ, but the best I did was this. If >you could help-me, I'd be very grateful. > >my hardware is: > >Pentium 133, 32mb of memory. > >I use Windows 95 (the last version before w98) > >my enviroment variables were: > >TMP=C:\WINDOWS\TEMP >TEMP=C:\WINDOWS\TEMP >winbootdir=C:\WINDOWS >COMSPEC=C:\WINDOWS\COMMAND.COM >PROMPT=$p$g >PATH=E:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND >DJGPP=E:\DJGPP\djgpp.env >MIDI=SYNTH:1 MAP:E >SOUND=C:\PROGRA~2\CREATIVE\CTSND >windir=C:\WINDOWS >BLASTER=A220 I5 D1 H5 P330 T6 > >when I run go32-v2, I get: > >go32/v2 version 2.0 built Aug 12 1996 22:27:23 >Usage: go32 coff-image [args] >Rename this to go32.exe only if you need a go32 that can run v2 binaries >as > well as v1 binaries (old makefiles). Put ahead of the old go32 in your >PATH > but do not delete your old go32 - leave it in the PATH after this one. >Set GO32_V2_DEBUG=y in the environment to get verbose output. > >DPMI memory available: 16007 Kb >DPMI swap space available: 0 Kb > >My autoexec.bat: > >E:\SDD\UNIVBE32.EXE -w >C:\SBCD\DRV\MSCDEX.EXE /D:MSCD001 /V /M:8 >REM SET CTCM=C:\WINDOWS >SET BLASTER=A220 I5 D1 H5 P330 T6 >PROMPT $p$g >PATH C:\WINDOWS;C:\WINDOWS\COMMAND >rem set PATH=E:\TC\bin;%PATH% >set PATH=E:\DJGPP\bin;%PATH% >set DJGPP=E:\DJGPP\djgpp.env >mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi) >mode con codepage select=850 >lh keyb br,,C:\WINDOWS\COMMAND\keyboard.sys >C:\WINDOWS\COMMAND\doskey >SET MIDI=SYNTH:1 MAP:E >SET SOUND=C:\PROGRA~2\CREATIVE\CTSND > >My config.sys is this (I tried with FILES=80, and it didn't work) > >DEVICE=C:\WINDOWS\HIMEM.SYS >DEVICE=C:\WINDOWS\EMM386.EXE RAM >FILES=40 >DOS=UMB >FCBS=16,0 >DOS=HIGH >device=C:\WINDOWS\COMMAND\display.sys con=(ega,,1) >Country=055,850,C:\WINDOWS\COMMAND\country.sys >DEVICE=C:\SBCD\DRV\SBIDE.SYS /D:MSCD001 /P:170,15 /V > >Thank you for the attention. > >Fernando Manoel Cambraia Guedes fernando AT iee DOT efei DOT br > >Itajuba', Minas Gerais, Brazil. >