On Sep 4, 2009, at 10:42 AM, Paolo Carlini wrote:

Margaret Doll wrote:
I need help in installing gcc in /usr/local.

After configuring gcc in /usr/local/gcc-4.4.1/objdir using

../gcc/configure --prefix=/usr/local/ --enable-threads=[osix
--enable-shared --enable-languages=c++,java --enable-bootstrap
Last but not least, from your build dir you should invoke the toplevel
configure, that is the one in gcc-4.4.1, not in gcc-4.4.1/gcc.

Paolo.

The [osix  was a typo.  My email system is not on my server.

I added the --enable-bootstrap because I was not getting a bootstrap option

I was following the instructions on the build from 
http://gcc.gnu.org/java/build-snapshot.html

5. Compile and install gcc/gcj/libgcj
 $ cd compile
 $ mkdir objdir
 $ cd objdir
$ ../gcc/configure --enable-threads=posix --prefix=/home/joerg/gcc \ --enable-shared --enable-languages=c++,java \ --with-as=/opt/gnu/bin/ as --with-ld=/opt/gnu/bin/ld
 $ make bootstrap
 $ make
 $ make install
Which doesn't work.
cd /usr/local/gcc-4.1.1
./configure
ends in the error that I have the wrong version of mpfr.h. I am using mpfr-2.4.1. The error log says that I should be using
mpfr 2.3.2+
I will look for mpfr 2.3.2 and try again.


Reply via email to