public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Include Path Error
@ 1997-08-21  9:04 Dan Rearick
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Rearick @ 1997-08-21  9:04 UTC (permalink / raw)
  To: 'gnu-win32@cygnus.com'

Problem:  I am attempting to compile my first GNUWin32 program, the infamous HELLO.C, to verify the installation of GNUWin32 under Windows 95 and I am receiving the following error:

Entered: 
	gcc hello.c
Results:
	hello.c:1: No include path in which to find stdio.h
	GCC.EXE: Internal compiler error: program cpp got fatal signal 33

Below is a listing of my environment parameters obtained with the Win95/DOS SET command:

/* Begin parameters list */

TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
NESTORPATH=C:\OCRFF\NESTOR30
GCC_EXEC_PREFIX = C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\
TCL_LIBRARY = C:/gnuwin32/b18/tcl/lib/tcl7.6
GDBTK_LIBRARY = C:/gnuwin32/b18/share/gdbtcl
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\MSSQL\BIN;C:\UTL;C:\PERL\BIN;C:\OPTIALL;C:
\KIPP\BIN;C:\PROGRAMF\MTI\OCRFF_16;C:\OCRFF\OCR\WORDSCAN.30;C:\OCRFF\KIPP\BIN;C:
\GNUWIN32\B18\H-I386-CYGWIN32\BIN;C:\GNUWIN32\B18\TCL\BIN;C:\GNUWIN32\B18\H-I386
-CYGWIN32\LIB\GCC-LIB\I386-CYGWIN32\CYGNUS-2.7.2-970404;C:\GNUWIN32\B18\H-I386-C
YGWIN32\I386-CYGWIN32\INCLUDE
windir=C:\WINDOWS
SNDSCAPE=C:\WINDOWS
BLASTER=A220 I5 D1 T1
CMDLINE=gcc hello.c

/* End parameters list */

Would someone please enlighten me as to what is missing.  The software was installed from a full version of GNUWin32 (CDK.EXE, size 14MB) and the installation completed error free. Thanks.

DBR...

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Include Path Error
@ 1997-08-27  7:06 Wei Ku
  0 siblings, 0 replies; 3+ messages in thread
From: Wei Ku @ 1997-08-27  7:06 UTC (permalink / raw)
  To: Dan Rearick, gnu-win32

 Try to put these two line in the file where the env. variables are set:
CPLUS_INCLUDE_PATH=d:\Cygnus\include\g++
C_INCLUDE_PATH=d:\Cygnus\include

-----Original Message-----
From: Dan Rearick <dan.rearick@cdmspa.com>
To: gnu-win32@cygnus.com <gnu-win32@cygnus.com>
Date: Sunday, August 24, 1997 6:55 AM
Subject: Include Path Error



>Problem:  I am attempting to compile my first GNUWin32 program, the
infamous HELLO.C, to verify the installation of GNUWin32 under Windows 95
and I am receiving the following error:
>
>Entered:
> gcc hello.c
>Results:
> hello.c:1: No include path in which to find stdio.h
> GCC.EXE: Internal compiler error: program cpp got fatal signal 33
>
>Below is a listing of my environment parameters obtained with the Win95/DOS
SET command:
>
>/* Begin parameters list */
>
>TMP=C:\WINDOWS\TEMP
>TEMP=C:\WINDOWS\TEMP
>PROMPT=$p$g
>winbootdir=C:\WINDOWS
>COMSPEC=C:\WINDOWS\COMMAND.COM
>NESTORPATH=C:\OCRFF\NESTOR30
>GCC_EXEC_PREFIX = C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\
>TCL_LIBRARY = C:/gnuwin32/b18/tcl/lib/tcl7.6
>GDBTK_LIBRARY = C:/gnuwin32/b18/share/gdbtcl
>PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\MSSQL\BIN;C:\UTL;C:\PERL\BIN;C:\OPTIA
LL;C:
>\KIPP\BIN;C:\PROGRAMF\MTI\OCRFF_16;C:\OCRFF\OCR\WORDSCAN.30;C:\OCRFF\KIPP\B
IN;C:
>\GNUWIN32\B18\H-I386-CYGWIN32\BIN;C:\GNUWIN32\B18\TCL\BIN;C:\GNUWIN32\B18\H
-I386
>-CYGWIN32\LIB\GCC-LIB\I386-CYGWIN32\CYGNUS-2.7.2-970404;C:\GNUWIN32\B18\H-I
386-C
>YGWIN32\I386-CYGWIN32\INCLUDE
>windir=C:\WINDOWS
>SNDSCAPE=C:\WINDOWS
>BLASTER=A220 I5 D1 T1
>CMDLINE=gcc hello.c
>
>/* End parameters list */
>
>Would someone please enlighten me as to what is missing.  The software was
installed from a full version of GNUWin32 (CDK.EXE, size 14MB) and the
installation completed error free. Thanks.
>
>DBR...
>
>-
>For help on using this list (especially unsubscribing), send a message to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Include Path Error
@ 1997-08-24 23:36 Colin Peters
  0 siblings, 0 replies; 3+ messages in thread
From: Colin Peters @ 1997-08-24 23:36 UTC (permalink / raw)
  To: 'Dan Rearick'; +Cc: 'GNU-Win32'

Dan Rearick[SMTP:dan.rearick@cdmspa.com] wrote:
[snip]
>Entered: 
>	gcc hello.c
>Results:
>	hello.c:1: No include path in which to find stdio.h
>	GCC.EXE: Internal compiler error: program cpp got fatal signal 33
[snip]
>GCC_EXEC_PREFIX = C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\
>TCL_LIBRARY = C:/gnuwin32/b18/tcl/lib/tcl7.6
>GDBTK_LIBRARY = C:/gnuwin32/b18/share/gdbtcl
>PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\MSSQL\BIN;C:\UTL;C:\PERL\BIN;C:\OPTIALL;C:
>\KIPP\BIN;C:\PROGRAMF\MTI\OCRFF_16;C:\OCRFF\OCR\WORDSCAN.30;C:\OCRFF\KIPP\BIN;C:
>\GNUWIN32\B18\H-I386-CYGWIN32\BIN;C:\GNUWIN32\B18\TCL\BIN;C:\GNUWIN32\B18\H-I386
>-CYGWIN32\LIB\GCC-LIB\I386-CYGWIN32\CYGNUS-2.7.2-970404;C:\GNUWIN32\B18\H-I386-C
>YGWIN32\I386-CYGWIN32\INCLUDE
[snip]

You shouldn't need C:\GNUWIN32\B18\H-I386-CYGWIN32\LIB\GCC-LIB\I386-CYGWIN32\
CYGNUS-2.7.2-970404 in your PATH (unless you are running cpp directly...
possibly an issue with rcl). It *might* be necessary to add it to LIBRARY_PATH.
Neither do you need C:\GNUWIN32\B18\H-I386-CYGWIN32\I386-CYGWIN32\INCLUDE in
your PATH, but you might try adding it to your C_INCLUDE_PATH and/or
CPLUS_INCLUDE_PATH instead. On the other hand, GCC generally searches these
paths automagically (and before environment variable or command line
specified paths, which can be annoying if you want to exclude them) if
everything is set up normally. Try running gcc with the -v option and looking
at the least of searched include paths.

Colin.

-- Colin Peters - Saga Univ. Dept. of Information Science
-- colin@bird.fu.is.saga-u.ac.jp - finger for PGP public key
-- http://www.fu.is.saga-u.ac.jp/~colin/index.html
-- http://www.geocities.com/Tokyo/Towers/6162/

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-08-27  7:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-08-21  9:04 Include Path Error Dan Rearick
1997-08-24 23:36 Colin Peters
1997-08-27  7:06 Wei Ku

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).