This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the EGCS project.
Re: On the RPM-spec (was: Re: gcc-2.95: Naming of the TAR file? GCC-2.95.tar.gz? gcc-2.95.tar.gz?)
On Tue, Aug 03, 1999 at 01:00:39AM +0000, Philipp Thomas wrote:
> On Mon, 2 Aug 1999 01:48:09 -0400, Arvind Sankar <arvinds@mit.edu>
> wrote:
>
> >And where would you build it otherwise?
>
> Like most of us build gcc, in a directory that's *not* part of the
> source tree. The procedure is very straight forward, just create the
> build dir and call the toplevel configure script from within that
> directory. If you look into the documentation, you will see, that this
> (i.e. objdir != srcdir) is the recommended way to do it.
I have seen the docs, yes. the pt is not with gcc, but with rpm. basically I
build it inside srcdir/obj-{architecture}. gcc advises against this, but it
works fine. with rpm, basically there arent too many directories outside the
build directory where u can do stuff. I suppose one thing to do is to unpack
inside BUILD/gcc-2.95/src and build in BUILD/gcc-2.95/obj, but this is not
usually how .spec files are set up.
-- arvind