From: Michelle Davies Newsgroups: comp.os.msdos.djgpp Subject: Re: problem using DJGPP Date: Sat, 27 Dec 1997 21:07:09 -0700 Organization: Arachnet Lines: 114 Message-ID: <34A5D06D.2FA2636@arach.net.au> References: <349B5DFB DOT 7A6A AT chaffee DOT net> <34A37CC9 DOT 82052AE9 AT arach DOT net DOT au> <34A31FE8 DOT 1FBD AT cs DOT com> NNTP-Posting-Host: redback.arach.net.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cache-Post-Path: redback.wadata.net.au!unknown AT ttye4 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Thankyou for your help so far: The following is my system configuration and other info requested in the FAQ. contents of environ.1st: TMP=C:\WINDOWS\TEMP TEMP=C:\WINDOWS\TEMP PROMPT=$p$g winbootdir=C:\MICHELLE\GCC COMSPEC=C:\WINDOWS\COMMAND.COM IEPPP=C:\INTERSET PCTCP=C:\INTERSET\pctcp.shv DJGPP=C:\michelle\ggc\djgpp.env PATH=C:\MICHELLE\GCC\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\INTERSET windir=C:\WINDOWS BLASTER=A220 I2 D1 'go32-v2' output: 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: 18943 Kb DPMI swap space available: 10885 Kb contents of autoexec.bat: C:\PROGRA~1\MCAFEE\VIRUSS~1\SCAN.EXE C:\ @IF ERRORLEVEL 1 PAUSE doskey rem - By Windows Setup - MSCDEX.EXE /D:mscd001 /L:D path=C:\INTERSET set ieppp=C:\INTERSET set pctcp=C:\INTERSET\pctcp.shv rem - For gcc compiler - added 26/12/97 set DJGPP=C:\michelle\ggc\djgpp.env set PATH=C:\michelle\gcc\BIN;%PATH% contents of config.sys: device=C:\sbide.SYS /D:mscd001 /P:170,15 /P:1f0:14 /P:168,10 /P:1e8,11 output of gcc with '-v' switch: C:\Michelle\gcc>gcc -v try.c gcc version 2.7.2.1 cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -Dunix -Di386 -DGO32 -DMS DOS -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__ MSDOS -Asystem(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386) try.c C:\WINDOW S\TEMP\ccbaaaaa GNU CPP version 2.7.2.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/local/go32/include /usr/local/lib/gcc-lib/go32/2.7.2.1/include /usr/include End of search list. try.c:1: stdio.h: No such file or directory (ENOENT) stdio.h file exists and is located at: c:/michelle/gcc/include/stdio.h I hope someone can make some sense of this problem.. thanks, Michelle Davies John M. Aldrich wrote: > > Michelle Davies wrote: > > > > I think the problem is concerning the path format. I think djgpp cant find > > the include files because it is looking for /include/stdio.h rather than > > \include\stdio.h using the dos path structure. > > > > If any body knows how i can fix this it would be greatly appreciated. > > This is not true. DJGPP's file handling functions interface directly > with DOS, which recognizes both types of slashes as directory > separators. The only program that doesn't is COMMAND.COM. > > Please post your system configuration as described in chapter 6.12 of > the FAQ. We really need more details if we are to help you. > > > --------------------------------------------------------------- > > > > Name: vcard.vcf > > Part 1.2 Type: text/x-vcard > > Encoding: 7bit > > Description: Card for Michelle Davies > > Oh, and please turn off this annoying piece of binary garbage. Thanks! > > -- > --------------------------------------------------------------------- > | John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com | > | Descent 2: The Infinite Abyss - The greatest Internet game of all | > | time just got better! This time, you're going all the way down...| > ---------------------------------------------------------------------