This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
error: unknown opcode ".uleb128"
- From: <jinyong at skymiracle dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 8 Dec 2004 14:46:40 +0800
- Subject: error: unknown opcode ".uleb128"
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;
}