[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
a memo on making bash 2.0.5b with HP ANSI C on HP-UX 11.00
From: |
Tetsuo Kuge |
Subject: |
a memo on making bash 2.0.5b with HP ANSI C on HP-UX 11.00 |
Date: |
Fri, 18 Jul 2003 20:58:58 +0900 (JST) |
Hello bash maintainers,
I happened to use bash to check Samba's behavior
on HP-UX 11.00 with HP ANSI C compiler in these days.
o OS/hardware
HP-UX B.11.00 U
HP9000/800/A400-44
o Compiler
B.11.11.06 HP C/ANSI C Compiler
Since this was my first time to treat bash,
I had to have some backtracks to build bash-2.05b.
Here are some memos:
0) configure of bash tends to create PA2.0 code.
To let it configure to execute PA2.0 and PA1.1,
I set CC="cc -Ae +DAportable" after trying
CFLAGS and CC.
If it is not feature to neglect CFLAGS, please
append this behavior to the end of bug list of
configure.
1) since strtold(3C) on HP-UX 11.00 is not compatible
as expected by bash-2.05b, I had to set
ac_cv_c_long_double=no
on configuring.
2) I met with a compile error on making.
I had to apply following patch to lib/malloc/malloc.c
since there remained no code between the label
free_return:
and the end of internal_free().
--
Regards,
Tetsuo.
Full name Tetsuo Kuge Hewlett-Packard Japan, Ltd.
Tel. +81-78-252-9154 (HP Telnet 1-368-5754) FAX +81-78-252-9298
E-mail tetsuo.kuge@hp.com
-=-=-=-=-=-=-=-=-=-=-=-=- cut here -=-=-=-=-=-=-=-=-=-=-=-=-
*** lib/malloc/malloc.c.org Sat Jun 22 04:16:49 2002
--- lib/malloc/malloc.c Wed Jul 16 18:00:40 2003
***************
*** 901,906 ****
--- 901,907 ----
if (_malloc_nwatch > 0)
_malloc_ckwatch (mem, file, line, W_FREE, ubytes);
#endif
+ ;
}
static PTR_T
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- a memo on making bash 2.0.5b with HP ANSI C on HP-UX 11.00,
Tetsuo Kuge <=