Skip to contentSkip to conversation

Can't configure gcc with --target=hppa64-linux

parisc-linux Guy Martin 1 participant 2 messages Jun 15, 2003

lore
Share & tools
lore

Guy Martin

author
#0 lore raw

Hi,

I'm trying to build a 64bit gcc but the configuration script fail.

./configure --host=hppa2.0-unknown-linux-gnu --prefix=/usr --target=hppa64-linux --disable-shared --disable-nls --enable-64-bit-bfd --enable-languages=c
[snip]
checking for CHAR_BIT... yes
checking byte ordering... od: od.c:1324: read_block: Assertion `0 < n && n <= bytes_per_block' failed.
unknown
configure: error: *** unable to determine endianness
Configure in /var/tmp/portage/gcc-3.2.2/work/gcc-3.2.2/gcc failed, exiting.

What's wrong ?

Regards

Signature · 3 lines
Guy Martin
Gentoo - HPPA port Lead / IPv6 team
Lug Charleroi (Belgium)
author
#1 lore raw

Ok, in fact it's od which have a little problem.

Thanks tausq for his help and sorry for this post :)

Quoted 18 lines · Guy Martin

Hi,

I'm trying to build a 64bit gcc but the configuration script fail.

./configure --host=hppa2.0-unknown-linux-gnu --prefix=/usr --target=hppa64-linux --disable-shared --disable-nls --enable-64-bit-bfd --enable-languages=c
[snip]
checking for CHAR_BIT... yes
checking byte ordering... od: od.c:1324: read_block: Assertion `0 < n && n <= bytes_per_block' failed.
unknown
configure: error: *** unable to determine endianness
Configure in /var/tmp/portage/gcc-3.2.2/work/gcc-3.2.2/gcc failed, exiting.

What's wrong ?

Regards

Signature · 3 lines
Guy Martin
Gentoo - HPPA port Lead / IPv6 team
Lug Charleroi (Belgium)