Doan Ngoc San wrote:
My OS is Sun Solaries2.6. I'd downloaded correct version (with gcc). When compiling error message are: ld: elf error: file /usr/local/lib/gcc-lib/sparc-sun-solaries2.6/2.95.2/libgpc.a: unknown type unable to process using elf(3E) library. ld:fatal:library - lgpc: not found.
Perhaps some kind of binary format incompatbility, I don't know exactly. You might try compiling GPC from sources, this will produce a compiler best suited for your system.
Frank