Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiler problems

Status
Not open for further replies.

hornet77

MIS
Oct 14, 2003
27
US
Hi, I have a SGI Altix. This runs a variant of RedHat. The architecture is ia64. The current version of gcc is 2.96. I have been trying to install new compilers (gcc-3.2.2 and gcc-3.3). I am now thinking that the current compiler is broken. Anytime I try and compile anything, I get the following errors:

as: unrecognized option `-x'
***The command 'gcc -o conftest -02 conftest.c' failed.
***You mest set the environment variable CC to a working compiler.

I have also asked one of our software developers to try and compile something and it did not work. How do I fix the current compiler and get the new ones installed??

Thanks!!
 
It's not gcc that is giving you that error, it is 'as' the assembler. You might need to find a binary distribution of gas for your platform.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top