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]
Other format: [Raw text]

Re: Obsolete building in source dir?


On Tue, 14 Sep 2004 15:47:24 -0400 DJ Delorie <dj@redhat.com> wrote:

> It's the "behind the user's back" that's a problem.  I think that we
> should either make it do what the user expected, or tell the user they
> can't do that, but to do something the user doesn't expect is bad.

As a user I agree with that argument and I think the easiest solution
would be to do it on the packaging level. Rather than releasing a tarball
like this

gcc-3.4.1/
  INSTALL/
  boehm-gc/
  ...


distribute one like this:

gcc-3.4.1/
  configure
  Makefile
  gcc-build/
  gcc-src/
     INSTALL/
     boehm-gc/
     ...


where configure and Makefile do the obvious thing and cd into gcc-build
before delegating to ../gcc-src/{configure,Makefile}

As I understand it, the desire to support building from srcdir is more
accurately described as a desire to support building from "the directory
created when extracting the tarball" in order to streamline the build
process for users of the release tarballs. The above packaging solution
achieves that without doing anything behind the user's back or interfering
with the GCC build system.

MSB

-- 
Conform, go crazy, or become an artist.


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