About prefix on linux

H.J. Lu hjl@lucon.org
Thu Sep 11 23:43:00 GMT 1997


About prefix on linux, I have no problem with any default location.
I know I will install gcc/egcs under /usr. The binary I provide
will be the same, which I havee been doing for years.

When I started working on linux, there were no as/ld/libc/cc
I liked. I bootstrapped everything via cross-compiling. There
is no such an issue of overriding anything for me:

1. There was none. Mine is default.

2. Nothing is overridden. You can always get back your old compiler
by

# gcc -V version -b xxxx

3. The binaries I made available to public were reaasonably reliable.

I have feeling that install egs in /usr/local on linux as default
may cause more trouble than its worth for most of Linux users.
If that really happened, I hope eveyone woluld help out. If necessary,
I will make a patch to make /usr as default, which I hope I will
never do.

BTW, one thing comes to mind is now you have to add -L/usr/local/lib
just to get the right libstdc++.

-- 
H.J. Lu (hjl@gnu.ai.mit.edu)



More information about the Gcc mailing list