This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: build error
- From: <bob_rossi at cox dot net>
- To: gcc at gcc dot gnu dot org
- Cc: Brian Dessent <brian at dessent dot net>
- Date: Wed, 18 Oct 2006 9:27:45 -0400
- Subject: Re: build error
- Sensitivity: Normal
---- Brian Dessent <brian@dessent.net> wrote:
>
> Consider posting this kind of question to gcc-help@ instead.
OK, I will.
> bob_rossi@cox.net wrote:
>
> > I just ran these commands:
> >
> > svn -q checkout svn://gcc.gnu.org/svn/gcc/trunk gcc
> > mkdir builddir
> > cd builddir
> > CFLAGS="-g" ../gcc/configure --enable-languages=c,c++ --enable-checking \
> > --disable-bootstrap --prefix=$PWD/../prefixdir
> > make -s
> > make install
> >
> > and I got the attached compile error. Is this a known issue on an
> > Althlon64 processor? Are there any work arounds?
>
> I don't think it has anything to do with your processor, but the fact
> that your build directory is a subdirectory of the source tree is
> generally a no-no. See <http://gcc.gnu.org/install/configure.html>.
>
> Brian
No, the build directory is not inside the source directory. The svn command
checks out a gcc/ directory. Then I make a builddir/ directory at the same
level as the gcc/ directory.
I tend to agree it's not a processor problem though. I had this exact configuration working on my ubunut box last week. My machine died, so I'm using a friend's gentoo box. This is the error I'm seeing now.
Thanks,
Bob Rossi