Problems in compilation using gcc-2.95 on Sparc-SunOS
Tue Feb 29 04:05:00 GMT 2000


I compiled a gcc native compiler on Sun Sparc platform running SunOS 5.6. I used
binutils 2.9.1 to compile gcc.

gomti~ $ uname -a
SunOS gomti 5.6 Generic_105181-19 sun4u sparc SUNW,Ultra-Enterprise
gomti~ $

Now when I compile a simple program I get the error as gievn below

gomti~ $ cat test.cpp
#include <vector>
#include <string>

main() {

vector<string> v;


gomti~ $ /cm_data/spwemulator/tools/gcc-native/bin/g++ test.cpp

could not read symbols: Bad value
collect2: ld returned 1 exit status
gomti~ $


Can anybody please suggest a solution

Thanks and Regards


More information about the Gcc mailing list