Thanks Eric

I thought it was OK to use a relative path. From what I understood, it is a bad idea to build inside the directory that the gcc tar file is uncompressed into, but I guess I can specifiy the path in full.

Definitely a typo in the email on the disable shared thing

I'm using GNU make version 3.80

I'm quite sure the kernel supports 64 bit - I've never had to disable anything for that before to get previous versions to build on sparc...

Thanks
Mark

----- Original Message ----- From: "Eric Botcazou" <[EMAIL PROTECTED]>
To: "Mark Cuss" <[EMAIL PROTECTED]>
Cc: <gcc@gcc.gnu.org>
Sent: Tuesday, April 11, 2006 10:22 AM
Subject: Re: gcc 3.4.4 build fails on Solaris (SPARC): Unable to run C Compiled Programs


I'm trying to build gcc 3.4.4 on a sparc machine running Solaris 9.  My
build setup was:
../gcc-3.4.4/configure --diabled-shared --prefix=<install
dir> --enable-languages=c,c++
make bootstrap

I see 4 potential problems:
- do not use a relative path to configure,
- "--diabled-shared" is probably not what you intended,
- is the "make" in "make bootstrap" a recent version of GNU make?
- does your kernel support 64-bit?  If not, you need to configure with
--disable-multilib.

I'd really appreciate it if someone could point me in the right direction
on this one...  Do I need a patch for gcc 3.4.4 to build on sparc?

Nope, but please read the instructions carefully:
http://gcc.gnu.org/install/specific.html#x-x-solaris2

--
Eric Botcazou



Reply via email to