This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with install to /usr/local ?


On Sun, Jun 03, 2001 at 11:24:24AM -0300, Alexandre Oliva wrote:
> On Jun  3, 2001, Gordon Sadler <gbsadler1@lcisp.com> wrote:
> 
> > gcc-3.0 -print-file-name=cpp
> > /lib/cpp (??) <- how?
> 
> Try gcc-3.0 -E -v - and see from where it picks cpp.  It should pick
> it from its internal binaries directory, not /usr/local/bin nor /lib.
> 
Using this, and other invocations of gcc-3.0 -v I'm fairly sure it picks
up GNU CPP version 3.0 20010602 (prerelease) (cpplib) (i386 Linux/ELF)
so I have no problems with the one used internally.

My possible problem comes from the fact that glibc-2.2.3 and possibly
others used `gcc -print-file-name=cpp` as some kind of 'trick' to locate
cpp. This may be causing a bit of the strange results I am seeing with
glibc builds.

-- 
Gordon Sadler


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]