[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash-2.05a on HP/UX 10.20
From: |
Alexander Bartolich |
Subject: |
bash-2.05a on HP/UX 10.20 |
Date: |
Tue, 09 Apr 2002 11:49:20 +0200 |
On an old HP/UX machine idling around I compiled bash-2.05a
with HP's cc. The only option of ./configure I used was --prefix.
Compilation would choke on getldouble() in builtins/printf.def
in some code guarded by HAVE_LONG_DOUBLE.
It seems that HP has it's very own idea on this type.
>From /usr/include/stdlib.h:
typedef struct {
unsigned int word1, word2, word3, word4;
} long_double;
long_double strtold(const char *str, char **ptr);
The expression "long double" is accepted by the compiler,
but seems to have no special meaning. A grep "long.*double"
in /usr/include should only occurences of long_double.
My work-around was to #undef the line regarding
HAVE_LONG_DOUBLE in config.h.
$ uname -a
HP-UX ughp01 B.10.20 A 9000/782 2015568046 two-user license
$ cc -V a.c
cpp: HP92453-01 A.10.32.03 HP C Preprocessor
ccom: HP92453-01 G.10.32.05 HP C Compiler
/usr/ccs/bin/ld: 92453-07 linker linker ld B.10.37 991028
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bash-2.05a on HP/UX 10.20,
Alexander Bartolich <=