This is the mail archive of the gcc-help@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]

configure: error: *** Cannot determine host character set


Good Day people,

 I'm trying to compile GNU Gcc 3.2.2 on a Solaris 9 system(Ultra 5),
however, even with 3.2.1 I'm getting the same error. Let me
describe the course of event:

I download the sources of gcc 3.2.2, untar it, and got inside the same
directory the following sources:

binutils
bison
gperf
texinfo

I created a different built directory name "compile", and from there,
I executed the following command:

../gcc-3.2.2/configure --prefix=/usr/local/ --exec-prefix=/usr/local
--enable-threads --enable-nls --with-cpu=ultrasparc

The configuration starts correctly, and it goes for a while, however, it
is failing in the configuration of gcc with the following error:

-----------------
Configuring etc...
loading cache ../../config.cache
checking for a BSD compatible install...
../../../gcc-3.2.2/binutils/etc/../install-sh -c
creating ./config.status
creating Makefile
Configuring gcc...
loading cache ../config.cache
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking host system type... sparc-sun-solaris2.9
checking target system type... sparc-sun-solaris2.9
checking build system type... sparc-sun-solaris2.9
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler...
no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether gcc and cc understand -c and -o together... yes
checking for gnatbind... no
checking for compiler driver that understands Ada... no
checking whether gcc accepts -Wno-long-long... yes
checking how to run the C preprocessor... (cached) $gcc -E
checking for inline... (cached) inline
checking for volatile... yes
checking for long double... yes
checking for long long int... yes
checking for __int64... no
checking for built-in _Bool... yes
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking execution character set... unknown
configure: error: *** Cannot determine host character set.
Configure in /export/home/deejays/Download/gcc/compile/gcc failed,
exiting.
------

I did execute with a sh -x with the configure script, however, I did not get
better details, I'm really puzzled about this.

Any information about how to resolv this issue would be appreciated!

Thanks



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