This is the mail archive of the gcc@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]

gcc compiling problems on Solaris 5.8



Hi, there!

Our Sun administer just installs gcc compiler on our Solaris 5.8.
However,
I got the following error message when compiling a simple test file.

=========================
>gcc junk.C
/usr/ccs/bin/as: "/var/tmp/ccodwVeJ.s", line 2522: error: statement
syntax
/usr/ccs/bin/as: "/var/tmp/ccodwVeJ.s", line 2531: error: unknown opcode
".uleb128"
=========================

My testing code:

----------------------------------------
#include <iostream>

int main()
{
   float x;
   x = 5.0;
   std::cout << x << std::endl;
}
-----------------------------------------

>uname -a
SunOS orbit7s 5.8 Generic_108528-06 sun4u sparc SUNW,Ultra-80

I would really appreciate any help from you. Thanks.


Regards,


Limin Zhao


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