gcc compiling problems on Solaris 5.8

Limin Zhao Limin.Zhao@noaa.gov
Tue Mar 26 13:24:00 GMT 2002


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



More information about the Gcc mailing list