------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  
2005-03-01 15:06 -------
Subject: Re:  wide character strings don't work on HP-UX

> ------- Additional Comments From pcarlini at suse dot de  2005-03-01 11:01
> -------
> Unfortunately, bad news: if I remember correctly, Dave doesn't mean to fix
> the
> problem on anything older that 11.11...

Yes, I believe that this is correct.  The HP libc doesn't provide
the support needed prior to 11.11.  There is a HP web page that shows
the timeline for the addition of various C95 (NA 2) and C99 features.
Even with 11.11, the initial bootstrap requires special defines to
allow configure to detect the wide character support (there is an
issue with the declaration of iconv).  I use for 4.x 32-bit builds
with gcc versions prior to 4.0.0:

export CC="gcc -D_XOPEN_UNIX -D_XOPEN_SOURCE_EXTENDED -D_INCLUDE__STDC_A1_SOURCE
 -D_INCLUDE_XOPEN_SOURCE_500"

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17005

Reply via email to