egcs-1.1.2 status

Manfred Hollstein manfred@s-direktnet.de
Wed Mar 10 02:52:00 GMT 1999


On Wed, 10 March 1999, 10:35:55, Franz.Sirl-kernel@lauterbach.com wrote:

 [...]
 > Hmm, it would make it possible to use the following construct:
 > 
 > make prefix=$RPM_BUILD_ROOT/usr cpp_install_dir=$RPM_BUILD_ROOT/lib install
 > 
 > I think this makes it quite clear, what I'm trying to do. Sure I can copy 
 > cpp in the spec file, but I like the above solution more.
 > 
 > >  > Take this as a vote to implement a $install_root variable during the
 > >  > configure/Makefile overhaul.
 > >We can put it on the list of things we want.  This adds quite a bit of
 > >complexity though.
 > 
 > True, but it will also make things clearer for the user.
 > 
 > Franz.
 > 

I second this.  In fact, this is something "autoconf/automake" should
provide by default; currently every package builder (rpm, dpkg, ...)
has to identify all absolute pathnames in the various Makefiles and
needs to find a way to prefix them with an installation prefix.

If we would have such feature, we could just do (for egcs):

$ .../configure --prefix=/usr --install-prefix=$RPM_BUILD_ROOT ...
$ make bootstrap
$ make install

No more need to bother with locating all those pathnames...

If nobody abjects against such a feature, I'll put it on my TODO list
for egcs-1.2. OK?

manfred


More information about the Gcc mailing list