testing consistency

Per Bothner bothner@cygnus.com
Thu Sep 11 13:20:00 GMT 1997


> Install gcc under /usr on linux has been done for years now.
> Why a sudden change? For linux users, it will only cause
> more confusions since the egcs binary release will be installed
> in /usr, not /usr/local. The same goes for glibc, which has
> wider impact than gcc. glibc is installed under /usr on linux
> unless being told otherwise.

Most Linux users should install gcc as part of a package.
When you install gcc or glibc packaged as an .rpm or .deb package
(as part of a Linux distribution), it should of course go in /usr.

When you build gcc from source, it should *by default* install
in /usr/local, *just like all other GNU packages*.

The paths should be different in the two situations.

If you (or a Linux package maintainer) want to make make a binary
release, you should configure it with --prefix=/usr - just like all
other GNU packages.

	--Per Bothner
Cygnus Solutions     bothner@cygnus.com     http://www.cygnus.com/~bothner



More information about the Gcc mailing list