compiling gcc on 64bit sparc

From: Will Dowling (william.m.dowling@nuim.ie)
Date: Thu Jun 16 2005 - 05:55:41 EDT


Hey folks,
Has anybody successfully compiled 64bit enabled gcc on
SPARC? I have a Sun Fire v880 with Solaris 9 and I cannot
get it to compile. I followed this guide which seems tobe
the only one available :
http://www.well.com/~jax/rcfb/solaris_tips/build_gcc_3.0_64bit.html

This is my configure command :
../gcc-3.4.4/configure --prefix=/usr/local/gcc-3.4.4
--enable-languages=c,c++ sparcv9-sun-solaris2.9

and when I type make I get this error :

cc -c -g -DHAVE_CONFIG_H -I. -I../../gcc-3.4.4/intl
./../gcc-3.4.4/intl/localealias.c
"../../gcc-3.4.4/intl/localealias.c", line 164: undefined
symbol: LOCALE_ALIAS_PATH
"../../gcc-3.4.4/intl/localealias.c", line 164: warning:
improper pointer/integer combination: op "="
cc: acomp failed for ../../gcc-3.4.4/intl/localealias.c
*** Error code 2
make: Fatal error: Command failed for target `localealias.o'
Current working directory /tmp/gcc-3.4.4-build/intl
*** Error code 1
make: Fatal error: Command failed for target `all-intl'

I looked at localealias.c and unless LOCALE_ALIAS_PATH is
defined in some header file it's not declared and
initialised in that C file. Google and old sunmanagers posts
came up with nothing.
Anybody ever get problems like this?
Regards,

 Will
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:54 EDT