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]

Problem with install to /usr/local ?


After searching through various mailing lists, I've spotted something on
the libc-bugs list that made me look closer.

I have gcc-2.95.4(Debian unstable) installed via deb so it resides in
/usr. I have compiled gcc-3.0 from CVS, and have installed it to
/usr/local. I can use either compiler by specifying gcc-2.95 or gcc-3.0,
etc.

Here's what I find a bit troublesome:

gcc-2.95 -print-file-name=cpp
/lib/cpp

ls -l /lib/cpp
/usr/bin/cpp-2.95

gcc-3.0 -print-file-name=cpp
/lib/cpp (??) <- how?

ls -l /usr/local/bin/cpp
-rwxr-xr-x    1 gbsadler staff      163881 Jun  2 12:10
/usr/local/bin/cpp

echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games

I'm remakeing gcc-3.0 now with --program-suffix='-3.0' to see if that
has any relevance.

-- 
Gordon Sadler


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