EXTERNAL: Re: GCC 4.1.1 Solaris 10 installation

Joseph, Matthew matthew.joseph@lmco.com
Tue May 24 17:23:00 GMT 2016


Hey Jonathan,

Gmake and gmake all produces similar errors. Here is the slight change in the error;

gcc –g -02 –o fixincl finxcl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o fixopts.o ../libiberty/libiberty.a
gcc: ../libiberty/libiberty.a: No such file or directory
gmake[1] *** [full-stamp] Error 1
gmake[1] Leaving directory ‘/tmp/gcc-4.1.1/objsrc/build-sparc-sun-solaris2.10/fixincludes’
gmake: *** [all-build-fixincludes] Error 2
gmake[2] *** Leaving directory ‘/tmp/gcc-4.1.1/objsrc/
gmake[1] *** [Stage1-bubble] Error 2
gmake[2] *** Leaving directory ‘/tmp/gcc-4.1.1/objsrc/
gmake: *** [all] Error 2

-----Original Message-----
From: Jonathan Wakely [mailto:jwakely.gcc@gmail.com] 
Sent: Tuesday, May 24, 2016 1:56 PM
To: Joseph, Matthew (CA) <matthew.joseph@lmco.com>
Cc: gcc-help@gcc.gnu.org
Subject: EXTERNAL: Re: GCC 4.1.1 Solaris 10 installation

On 24 May 2016 at 17:35, Joseph, Matthew wrote:
> Hello,
>
> I'm trying to build GCC 4.1.1 on a Solaris 10 Update 8 box but I'm running into an issue stating that libiberty.a: No such file or directory.
> Here is some information.
>
> cd /tmp/gcc4.1.1/objsrc/
> /tmp/gcc-4.1.1/configure -prefix=/opt/gcc-4.1.1 
> -enable-languages=c,c++ --build=sparc-sun-solaris2.10 gmake all-gcc

Have you tried just gmake? or gmake all?

I don't think the all-gcc target builds libiberty, just the gcc sub-directory, which would explain why it can't find libiberty.


More information about the Gcc-help mailing list