error: unknown opcode ".uleb128"

jinyong@skymiracle.com jinyong@skymiracle.com
Wed Dec 8 06:46:00 GMT 2004


Hi,

  When i install the gcc 3.0.2,
I try to compile a simple c++ program,but get
error like this:
/usr/ccs/bin/as: "/var/tmp/ccmqRkgN.s", line 6472: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccmqRkgN.s", line 6477: error: unknown opcode ".uleb128"
/usr/ccs/bin/as: "/var/tmp/ccmqRkgN.s", line 6477: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccmqRkgN.s", line 6480: error: unknown opcode ".uleb128"
/usr/ccs/bin/as: "/var/tmp/ccmqRkgN.s", line 6480: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccmqRkgN.s", line 6481: error: unknown opcode ".uleb128"
/usr/ccs/bin/as: "/var/tmp/ccmqRkgN.s", line 6481: error: statement syntax

But when i compile with the c program, it is ok.
I do not know why, any help will be appreciated.
the c++ program ,

#include <iostream.h>

main ()
{
  cout << "Helo world" << endl;
}

the c program
#include <stdio.h>

int main(int argc, char *argv[])
{
 printf("Hello, world\n");
 
 return 0;
}
     


More information about the Gcc-help mailing list