Path: chuka.playstation.co.uk!news From: gil@snsys.com (Gil Jaysmith) Newsgroups: scea.yaroze.programming.gnu_compiler Subject: Re: C++ Include paths Date: Mon, 16 Feb 1998 13:30:24 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 23 Message-ID: <34e83d0a.8570095@www-s.playstation.co.uk> References: <6c6f9n$beo3@chuka.playstation.co.uk> <6c6vj7$beo4@chuka.playstation.co.uk> NNTP-Posting-Host: trish.snsys.com X-Newsreader: Forte Free Agent 1.11/32.235 On Sun, 15 Feb 1998 15:00:10 -0000, "Graeme Evans" wrote: >Gil, did I get this right? Yes. Setting CPLUS_INCLUDE_PATH should be good enough. On the other hand, it might be affected by the way you built the compilers. I had to do some disturbing meddling with the source because of Cygnus's goddamn changes. It stats every directory to see whether it exists before adding it to the include path (no problem), but it also does some dubious processing to determine whether directories have prefixes, which I ended up disabling because it just zarked me off and I decided it was valueless outside the Cygwin environment. I don't know offhand about LIBRARY_PATH since I never build gcc itself, just cc1 and cc1plus. (And Objective C! Who wants to be the first person to write a PSX game in this? :) However, distrusting environment variables as I do, I'd recommend you stick with the -I option. Graeme, did you build the C++ startup code and libgcc2 math routines too? - Gil