What are the versions you are using? (Versions of GCC , binutils) . The .uleb128 looks like a dwarf2 opcode. What is the platform you are attempting to run this on ? This info would help someone help you . cheers Ramana jinyong@xxxxxxxxxxxxxx wrote: > 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; > } >