Message-ID: <20001213223635.17733.qmail@web3306.mail.yahoo.com> Date: Wed, 13 Dec 2000 14:36:34 -0800 (PST) From: Anna Valary Subject: Can I ask you for some help, please? To: djgpp AT delorie DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Reply-To: djgpp AT delorie DOT com Dear Sirs! My name is Anna V. McSpadden. I am trying to learn to program in C++, using DJGPP as a compiler and a linker. But to my great sorrow, I faced a problem that I can not solve myself. Seems GCC cannot find file streambuf.h on my disk. I tried to compile a very simple program (the name of the file is list.cc): #include int main() { cout << "Hello!\n"; return 0; } This is the command line, which I was using from DOS Prompt: gcc –c –Wall list1.cc This is the message I received: In file included from list.cc:1: C:/ myprog~1/c--~1/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or directory (ENOENT). Following your instructions from article 8.2 of FAQ list I tried to install LFN support. I used the line set LFN=y first from the DOS Prompt command line and ran the compiler. The result was the same. Then I added the line set LFN=y to my autoexec.bat, reboot the computer and ran a command gcc –c –Wall list1.cc from DOS Prompt again. Result was all the same. I am sure that I have file C:/ My Program Files/C++/djgpp/lang/cxx/streambuf.h in my library, because I can find it with Windows Explorer and look through it with text editor. And I think that the program that I used to unzip the libraries (WinZip), suppoted long file names, because I can see file C:\My PROGRAM Files\C++\DJGPP\include\sys\sysmarcos.h (according to your instructions). Here is the information listed in section “6.16 How to ask DJGPP gurus for help “ of FAQ list: A) The output of go32-v2 program: go32/v2 version 2.0 built Nov 15 1998 14:36:43 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: 33863 Kb DPMI swap space available: 26273 Kb B)environ.lst file: TMP=c:\windows\TEMP TEMP=C:\windows\TEMP PROMPT=$p$g winbootdir=C:\WINDOWS COMSPEC=C:\WINDOWS\COMMAND.COM PATH=C:\MYPROG~1\C__~1\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\MYPROG~1\C__~1\DJGPP\BIN DJGPP=C:\MYPROG~1\C__~1\DJGPP\DJGPP.ENV LNF=y windir=C:\WINDOWS BLASTER=A220 I5 D1 T4 C) Autoexec.bat: REM To make a DOS Boot Diskette; See the file C:\DOSBOOT\DOSBOOT.TXT @echo off C:\PROGRA~1\NETWOR~1\MCAFEE~1\SCANPM.EXE C:\ @if errorlevel 1 pause path c:\windows;c:\windows\COMMAND;C:\MYPROG~1\C__~1\DJGPP\BIN SET BLASTER=A220 I5 D1 T2 c:\keyrus.com mode con codepage prepare=((866) c:\windows\COMMAND\ega3.cpi) mode con codepage select=866 keyb ru,,c:\windows\COMMAND\keybrd3.sys SET PATH=C:\MYPROG~1\C__~1\DJGPP\BIN;%PATH% SET DJGPP=C:\MYPROG~1\C__~1\DJGPP\DJGPP.ENV Set LNF=y D) CONFIG.SYS: REM To make a DOS Boot Diskette; See the file C:\DOSBOOT\DOSBOOT.TXT [common] dos=high,umb buffers=40 device=c:\windows\himem.sys /testmem:off DEVICE=C:\WINDOWS\EMM386.EXE rem The below DOS CD ROM driver is not required to run Windows 95. DEVICEHIGH=c:\cdrom\Oakcdrom.sys /D:IDECD000 device=c:\windows\COMMAND\display.sys con=(ega,,1) Country=007,866,c:\windows\COMMAND\country.sys Dear Sirs, I would really greatly appreciate if you help me to solve this problem . Thank you for your kind attention. Sincerely, Anna McSpadden. __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/