Path: chuka.playstation.co.uk!news From: "Steve Dunn" Newsgroups: scea.yaroze.programming.gnu_compiler Subject: Re: C++ Include paths Date: Sun, 15 Feb 1998 19:15:56 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 48 Message-ID: <6c7es4$beo5@chuka.playstation.co.uk> References: <6c6f9n$beo3@chuka.playstation.co.uk> <6c6vj7$beo4@chuka.playstation.co.uk> NNTP-Posting-Host: userl453.uk.uudial.com X-Newsreader: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Yes, That's what I'm asking ! But I'm sorry Graeme, you don't get the community action trust reward, as you're already one of favorite people for your past help ! Will a 'thanks again' do ? Thanks again ! Steve Graeme Evans wrote in message <6c6vj7$beo4@chuka.playstation.co.uk>... >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 > >