public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* cvs snap compilation error
@ 2005-01-14  9:32 Tommy Vercetti
  2005-01-15  2:06 ` James E Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Tommy Vercetti @ 2005-01-14  9:32 UTC (permalink / raw)
  To: gcc-bugs

Sorry to bug you here guys, but I have no idea where to ask about it.
I have downloaded via cvs current snapshot, and it doesn't compile:

config.status: executing default commands
make[1]: Entering directory 
`/home/users/gj/Projects/gcc-4.0/gcc/build-x86_64-unknown-linux-gnu/libiberty'
if [ x"" != x ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
make[1]: *** No rule to make target `../include/ansidecl.h', needed by 
`regex.o'.  Stop.
make[1]: Leaving directory 
`/home/users/gj/Projects/gcc-4.0/gcc/build-x86_64-unknown-linux-gnu/libiberty'
make: *** [all-build-libiberty] Error 2

configured with:
./configure --prefix=/usr/local/gcc4.0 --with-system-zlib 
--enable-languages=c,c++ 

Linux flat41 2.6.11-rc1 #3 SMP Fri Jan 14 00:05:41 CET 2005 x86_64 0 unknown 
PLD Linux

Thanks.

-- 
Vercetti


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cvs snap compilation error
  2005-01-14  9:32 cvs snap compilation error Tommy Vercetti
@ 2005-01-15  2:06 ` James E Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: James E Wilson @ 2005-01-15  2:06 UTC (permalink / raw)
  To: Tommy Vercetti; +Cc: gcc-bugs

Tommy Vercetti wrote:
> ./configure --prefix=/usr/local/gcc4.0 --with-system-zlib 
> --enable-languages=c,c++ 

We never use "./configure".  It is supposed to work, but since we never 
use this ourselves, it is often accidentally broken.  Instead, you 
should do something like
   cd ..
   mkdir build
   cd build
   ../gcc/configure ...
You probably have to delete everything in the source tree that was 
created by your broken configure/build before this will work.  This may 
be tricky, but if you delete everything that "cvs update" complains 
about, then you should be OK.  If you configure in a different 
directory, it is trivial to delete a broken build.  Also, this makes it 
easy to build multiple cross compilers from a single source tree, which 
many of us often need to do.

gcc-bugs is mainly for bugzilla output nowadays.  It isn't the best 
place to ask questions.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-15  2:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-14  9:32 cvs snap compilation error Tommy Vercetti
2005-01-15  2:06 ` James E Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).