Connecting Tech Pros Worldwide Forums | Help | Site Map

GCC 4.3.1 installtion problem

Member
 
Join Date: May 2007
Posts: 40
#1: Jul 9 '08
Hi All,

I have installed gcc 4.3.1 compiler , but the assembler used to build gcc 4.3.1 was the one that came by default with SLES 10 SP1.

Can anybody point me to the link from where i can download latest assembler ?

Regards,

Nepomuk's Avatar
Moderator
 
Join Date: Aug 2007
Location: Germany
Posts: 2,466
#2: Jul 9 '08

re: GCC 4.3.1 installtion problem


Quote:

Originally Posted by ganeshp

Hi All,

I have installed gcc 4.3.1 compiler, but the assembler used to build gcc 4.3.1 was the one that came by default with SLES 10 SP1.

Can anybody point me to the link from where i can download latest assembler ?

Regards,

Are you using SUSE Linux Enterprise Server 10 SP1 or a different distribution? And I don't quite understand, what the problem with assembler is.

To answer your question, you should be able to download the newest version of NASM (The Netwide Assembler) from sourceforge. I'm just not sure, that's what you really need.

Normally, I'd guess that you'd install gcc on SUSE either with Yast (search for gcc) or from an rpm package (which you could find here). No need for assembler here.

If you're not using SUSE, there should still be a different (easier and more safe) way to install gcc. Of course, we'd be happy to help you find it, if Google doesn't do so.

Greetings,
Nepomuk
Member
 
Join Date: May 2007
Posts: 40
#3: Jul 11 '08

re: GCC 4.3.1 installtion problem


Thank you very much for your interest in answering my question.

Assembler messages:
The error during build was like "Error: no such instruction: `roundsd ..."

I installed latest binutils from "ftp://sourceware.org/pub/binutils/snapshots "
this latest binutils included the latest assembler (set the PATH variable to the directory where this assembler is located , actually the new as was located in a folder called gas and the name was as-new , i created a new copy of as-new called as , and included the path of this directory in PATH and verified it with as -v )

after installing this latest binutils , i did anothr gcc 4.3.1 gcc build , make and install

after this i started build for my application and the build was successful
Reply