Path: chuka.playstation.co.uk!news From: "Graeme Evans" Newsgroups: scea.yaroze.programming.gnu_compiler Subject: Re: C++ Include paths Date: Sun, 15 Feb 1998 15:00:10 -0000 Organization: Yaloozer Lines: 33 Message-ID: <6c6vj7$beo4@chuka.playstation.co.uk> References: <6c6f9n$beo3@chuka.playstation.co.uk> NNTP-Posting-Host: fourny.demon.co.uk X-Newsreader: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 DOh! If anyone's going to help you solve this Steve, I think you better tell them what the problem is :) When I compiled gcc, I set the install path to be /psx2/ - this gets compiled into the code. You put it on a zip disk or something on the E:\ drive when your make utility and VC++ environment are on your C:\ drive. So, the current drive for finding include files and stuff is on the C:\ drive and the compiler cant find stuff. What you want to know is, with the cygwin32 port of the gcc tools, is there a way of setting environment variables to direct the compiler to override the default paths so you can put an E:\ in there. The best place to find out this sort of info is www.netyaroze-europe.com/yaroze/ftp/manuals/gnu/gnucc.txt and I just had a wee looksie. There are different environment variables for C, C++ and Objective C include paths. Have you tried setting CPLUS_INCLUDE_PATH to E:\psx2\lib\gcc-lib\mips-unknown-ecoff\cygnus-2.7.2-970404\include ?????? (maybe need to set LIBRARY_PATH too if you cant pick up libps, I use the one in c:\psx\lib, experiment!) If you cant find any variables that do the trick, my next suggestion was going to be to add -IE:\psx2\lib\gcc-lib\mips-unknown-ecoff\cygnus-2.7.2-970404\include to your cflags in your makefile Gil, did I get this right? Graeme