This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
install problem with 10/31/97
- To: egcs at cygnus dot com
- Subject: install problem with 10/31/97
- From: Andrew Borthwick <borthwic at johnson dot cs dot nyu dot edu>
- Date: Wed, 5 Nov 1997 13:51:28 -0500 (EST)
Hi,
I installed the 10/31/97 snapshot on my sparc-sun-solaris2.5.1 machine,
but when I try to compile a simple "Hello World" program I get the following
error:
------------------------------------------------
johnson:codeT% cat hello.C
#include <iostream.h>
int main() {
cout << "Hello World!\n";
}
johnson:codeT% g++ hello.C
ld: fatal: file=/johnson.a/proteus/borthwic/install/lib/libstdc++.a(filebuf.o):
relocation [R_SPARC_32] (symbol <unknown>) against non-aligned offset
(0xef197587)
ld: fatal:
file=/johnson.a/proteus/borthwic/install/lib/libstdc++.a(stdiostream.o):
relocation [R_SPARC_32] (symbol <unknown>) against non-aligned offset
(0xef197807)
collect2: ld returned 1 exit status
----------------------------------------------------
Any suggestions?
Thanks,
Andrew Borthwick