www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/19/20:42:44

Message-ID: <01BCF44A.3ED90AE0@gp-18.budget.net>
From: Guy Giesbrecht <guido5 AT chatlink DOT com>
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: RE: compiler can't find stdio.h
Date: Tue, 18 Nov 1997 17:48:09 -0800
MIME-Version: 1.0

Hi Nate,
     Thanks for the reply. 
     I've read README.1st up and down. Here's my autoexec.bat file:
@ECHO OFF
SET BLASTER=A220 I5 D1 T4
SET PATH=C:\JAVA\BIN;C:\djgpp\bin;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\Perl\bin;
djgpp=c:\djgpp\djgpp.env

    And my SET settings read as:
C:\WINDOWS>set
TMP=c:\windows\TEMP
TEMP=C:\windows\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
PATH=C:\WINDOWS;c:\windows;c:\windows\COMMAND;C:\JAVA\BIN;C:\DJGPP\BIN;C:\WINDOW
S;C:\WINDOWS\COMMAND;C:\PERL\BIN;
windir=C:\WINDOWS
BLASTER=A220 I5 D1 T4

    And gcc does this:
C:\djgpp>gcc -v hello.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) hello.c c:\wind
ows\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.
hello.c:1: stdio.h: No such file or directory (ENOENT)
   
        The forward slashes / make me think I might have the unix version by mistake,
but that doesn't seem likely since I used zip picker to get all the files.
      I'm using an acer aspire 586 running win95 with 16megs not that any of that should matter. The other programs like rhide seem to work fine. Just no compiling.
      Thanks again!
      
----------
From: 	Nate Eldredge
Sent: 	Monday, November 17, 1997 9:43 PM
To: 	Guy Giesbrecht; 'djgpp AT delorie DOT com'
Subject: 	Re: compiler can't find stdio.h

At 04:18  11/16/1997 -0800, Guy Giesbrecht wrote:
>Hello,
>     I'm just getting started with djgpp under windows95 and everything
seems to be installed properly yet when I try to compile even the simplest
of programs, the compiler says it can't find stdio.h I've copyed this file
to what seems to be every pertinent directory, even the root yet the
compiler fails to find it. Anyone have an idea as to what I've done wrong?
The paths all seems to be set up right, autoexec and all that... 
      >
Read README.1ST if you haven't. Make sure your PATH and DJGPP environment
variables are set correctly. If you can't find the problem, please post here
the following:
* AUTOEXEC.BAT
* Output of `gcc -v foo.c' (replace foo.c with your file)
* Output of `SET' (your environment)

Nate Eldredge
eldredge AT ap DOT net




- Raw text -


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