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]

installation question


I have just downloaded the binaries for the gcc compiler (sparc-platform,
solaris 2.8) and upon trying to
compile a simple c++file I get the following error from the assembler. Can
someone tell me if what am I doing wrong?

/usr/ccs/bin/as: "/var/tmp/ccq1uYQM.s", line 6416: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccq1uYQM.s", line 6425: error: unknown opcode
".uleb1
28"


Command line: gcc -I../include test.cc -o test


test.cc file has the following code:

#include <iostream.h>
int main(int argc, char *argv[]) {
        cout << "This is a test" <<endl;
        return 0;
}

Thanks
- Abhijit



******************* PLEASE NOTE *******************
This message, along with any attachments, may be confidential or legally
privileged.  It is intended only for the named person(s), who is/are the
only authorized recipients.  If this message has reached you in error,
destroy it without review and notify the sender immediately.  Thank you.
**********************************************************


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