This is the mail archive of the gcc-patches@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: [tree-ssa]: Andersen points-to analysis


On Wed, Nov 27, 2002 at 01:08:52AM -0500, Daniel Berlin wrote:
> 
> He should be doing:
> $ cd tree-ssa/bin
> $ ../configure
> $ make bootstrap
> 

I'm confused: in install.texi I see the following example:

---------------
We use @var{srcdir} to refer to the toplevel source directory for
GCC; we use @var{objdir} to refer to the toplevel build/object directory.

If you obtained the sources via CVS, @var{srcdir} must refer to the top
@file{gcc} directory, the one where the @file{MAINTAINERS} can be found,
and not its @file{gcc} subdirectory, otherwise the build will fail.

[...]

First, we @strong{highly} recommend that GCC be built into a
separate directory than the sources which does @strong{not} reside
within the source tree.  This is how we generally build GCC; building
where @var{srcdir} == @var{objdir} should still work, but doesn't
get extensive testing; building where @var{objdir} is a subdirectory
of @var{srcdir} is unsupported.

[...]

@example
    cd @var{objdir}
    @var{srcdir}/configure --enable-languages=c,ada
    cd @var{srcdir}/gcc/ada
    touch treeprs.ads [es]info.h nmake.ad[bs]
    cd @var{objdir}
    make bootstrap
    cd gcc
    make gnatlib_and_tools
    cd ..
@end example
----------------

That's exactly what I've done: 

$ objdir=/tmp/bin
$ srcdir=/tmp/gcc
$ cd $objdir
$ $srcdir/configure
$ make bootstrap

and this fails building libs in libbanshee...
What am I missing?

I also tested the following:

$ srcdir=/tmp/gcc
$ objdir=$srcdir/bin
$ cd $objdir
$ ../configure
$ make bootstrap

but this fails.


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