This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: configure: error: unable to detect exception model
> > I got the CVS version.
> > Then "./configure" in the main dir - OK
> > Then "make" - it made gcc, then started configuring something else and wrote the error
>
> That's not how you should build GCC (according to
> http://gcc.gnu.org/install/). Use a separate build directory and
> issue make bootstrap. For example I run from a separate build dir
> (most options are not needed and you can use the default):
>
> /cvs/gcc/configure --prefix=/opt/gcc-3.1-devel --enable-shared \
> --enable-threads=posix --enable-clocale=gnu \
> --with-gnu-as --with-gnu-ld --disable-nls --with-system-zlib
> (make bootstrap && make -k check) 2>&1|tee make-out
Thanks, I'll try it.
Josef Zlomek