Re: g++ -print-prefix or -print-install-prefix

2006-10-17 Thread Benjamin Kosnik
> Why do you need this? For installed-compiler testing, the compiler > already searches the obvious places. (I'm not trying to be cute: I'm > genuinely curious.) This is needed if you need to find the C++ includes, but are not using the C++ compiler. > I agree that it would be nice if -print

Re: g++ -print-prefix or -print-install-prefix

2006-10-16 Thread Mark Mitchell
Benjamin Kosnik wrote: For testing outside of the build directory, it would be convenient to have $SUBJECT. This could be used in conjunction with -dumpversion to create on-the-fly include and library directory paths for C++ includes in a sane manner, much like the following: Why do you need

Re: g++ -print-prefix or -print-install-prefix

2006-10-16 Thread Benjamin Kosnik
> but in the meantime, I'm wondering if there is a much easier way to go > about this that I'm currently overlooking. ...instead I will rip off comp_base_dir from libgloss.exp. -benjamin