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]

Re: Errors bootstrapping CVS gcc on sparc-sun-solaris2.8


On Tue, Apr 10, 2001 at 02:15:27PM -0500, Chris Lattner wrote:
> 
> cvs/gcc> ./configure --srcdir=`pwd` --enable-languages=c++,java
           ^^^^^^^^^^^^^^^^^^^^^^^^^^

srcdir == objdir doesn't really work


> It seems to have built mostly fine, except that it eventually goes into
> the sparc-sun-solaris2.8/* directories and tries compiling stuff in there
> (for example boehm-gc).  I'm confused why the make scripts seemed to copy
> large chunks of source into this directory.  Is this intentional, or did
> something break during the build process?

That happens when srcdir == objdir.


> It seems really strange to have a gcc/libiberty/*.[co] and also have a
> gcc/sparc-sun-solaris2.8/libiberty/*.[co] as well.

That's normal, and necessary.


> Does anyone know what could be the problem?  Would building in a
> seperate 'objdir' fix this problem?

Probably.  That's what's recommended in the instructions.  Try it and see.

I'm having occasional difficulty building on solaris 2.8 using the 3.0
branch, but I couldn't speak about the trunk right now.  (A bootstrap is
in progress.)


Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.


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