An error when trying to gmake install GCC 3.4.6: gmake: *** [install-target-libf2c] Error 2

Alex Man alexman@seas.ucla.edu
Tue Dec 25 19:59:00 GMT 2007


Dennis,

I solved my problem. As you advised, I just disabled the support for 
Fortran so it didn't try to install the library libf2c and I didn't 
get any error when I did gmake install. Thanks so much for your help!

At 02:23 PM 12/21/2007, Dennis Clarke wrote:

> > Dennis,
> >
> > Thanks for your reply. Actually I didn't have any problem building it
> > (gmaking it). I had problem when I gmake install it. I'll try your
> > two suggestions and see if that helps but it's going to take another
> > 6+ hours before I can see any result. I'll let you know, thanks!
>
>Oh trust me .. I can sooo relate to that.  :-P
>
>   I build GCC 4.2.1 on a Sparc 20 :
>   http://gcc.gnu.org/ml/gcc/2007-08/msg00185.html
>
>   The process took days .. and days and coffee pots
>
>So, what was your configure line again ?  Did you specify --prefix as well
>as --with-local-prefix ??
>
>Here is the configure options that I used on that Sparc20 :
>
>bash-3.2$ gcc -v
>Using built-in specs.
>Target: sparc-sun-solaris2.8
>Configured with: /export/home/dclarke/build/gcc-4.2.1/configure
>--with-as=/usr/ccs/bin/as --without-gnu-ld --with-ld=/usr/ccs/bin/ld
>--with-cpu=v7 --enable-threads=posix --disable-nls
>--prefix=/export/home/dclarke/local
>--with-local-prefix=/export/home/dclarke/local --enable-shared
>--enable-languages=c,c++,objc,fortran
>--with-gmp=/export/home/dclarke/local
>--with-mpfr=/export/home/dclarke/local --enable-bootstrap
>Thread model: posix
>gcc version 4.2.1
>
>   ugly eh ?
>
>Dennis

Regards,

Alex 



More information about the Gcc-help mailing list