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 Wednesday, November 27, 2002, at 02:53  AM, Pop Sébastian wrote:

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...
How?
Can I see the log?
I've tested this multiple times, no troubles at all.
I can't get it to fail.

Did it configure libbanshee (I assume it did, since you said make in libbanshee works, right?)?

Can you send me the generated toplevel Makefile?

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]