This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error building 4.1 on Solaris 9


Andrew Pinski wrote:

On Mar 1, 2006, at 7:48 PM, Martin Sebor wrote:


Is there a recommended version of GNU binutils for 4.1? I have been
using 2.13 but the latest compiler doesn't seem to be happy with it.
I tried the latest, 2.16.1, but I get the same error with it as well.
I don't see anything about this in INSTALL/specific.html.


You did not follow directions.

Guilty as charged. I guess I never have and I've just been getting away with it (that is, until now).


From http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13486:


- You must tell the configure script that you use GNU binutils and not the Sun
tools. See http://gcc.gnu.org/install/configure.html

Thank you. Using the options --with-gnu-as --with-gnu-ld fixed the error.

- You don't follow the Solaris-specific instructions to build GCC. See
http://gcc.gnu.org/install/specific.html#sparc-sun-solaris2*

I had read this but I didn't see anything relevant and I still don't even after rereading it. Could you be more specific about which part I should follow? (The build went fine, I just want to be sure I don't run into something down the line.)

Thanks
Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]