[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] wcwidth on OSF/1
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] wcwidth on OSF/1 |
Date: |
Tue, 8 Aug 2006 15:32:33 +0200 |
User-agent: |
KMail/1.9.1 |
Gary V. Vaughan wrote:
> NOTICE -- NEW DEFAULTS
>
> This Developers' Toolkit Supplement compiler defaults to -std -intrin-
> sics. The compiler that shipped with Tru64 UNIX V4 systems defaults to
> -std0. For compilations that rely on these default settings, this
> change could result in differences in diagnostics or program behavior.
> If such differences are bothersome, this compiler can be made to emu-
> late the base system compiler by adding -std0 -nointrinsics to the
> command line. Alternatively, the base system compiler can be accessed
> directly by specifying -nodtk.
>
> And lo and behold:
>
> alphaev67-dec-osf5.1$ ../configure --enable-changeword CC='cc -nodtk' |
> > grep wcwidth
> checking for wcwidth... yes
> checking whether wcwidth is declared... yes
> alphaev67-dec-osf5.1$ /opt/TWWfsw/gmake38/bin/make all check
> [[...]]
> All checks successful
Interesting! Thanks for this solution. I'm going to document it in
gettext's INSTALL file.
Bruno
***************
*** 171,176 ****
--- 171,186 ----
env CC="cc -Ae" ./configure
+ On OSF/1 a.k.a. Tru64, some versions of the default C compiler don't grok
+ its <wchar.h> header file. The option -nodtk can be used as a workaround.
+ If GNU CC is not installed, it is therefore recommended to try
+
+ env CC="cc" ./configure
+
+ and if that doesn't work, try
+
+ env CC="cc -nodtk" ./configure
+
On AIX 3, the C include files by default don't define some necessary
prototype declarations. If GNU CC is not installed, it is recommended to
use the following options:
- Re: m4-1.4.6 soon?, Gary V. Vaughan, 2006/08/05
- Re: [bug-gnulib] wcwidth on OSF/1 (was: m4-1.4.6 soon?), Bruno Haible, 2006/08/07
- Re: [bug-gnulib] wcwidth on OSF/1, Gary V. Vaughan, 2006/08/07
- Re: [bug-gnulib] wcwidth on OSF/1, Gary V. Vaughan, 2006/08/07
- Re: [bug-gnulib] wcwidth on OSF/1, Bruno Haible, 2006/08/07
- Re: [bug-gnulib] wcwidth on OSF/1, Gary V. Vaughan, 2006/08/07
- Re: [bug-gnulib] wcwidth on OSF/1,
Bruno Haible <=
- Re: [bug-gnulib] wcwidth on OSF/1, Ralf Wildenhues, 2006/08/08
- Message not available
- Re: CC=cc ./configure or ./configure CC=cc, Ralf Wildenhues, 2006/08/09
- Re: CC=cc ./configure or ./configure CC=cc, Bruno Haible, 2006/08/10
- Re: CC=cc ./configure or ./configure CC=cc, Ralf Wildenhues, 2006/08/10
- Re: CC=cc ./configure or ./configure CC=cc, Paul Eggert, 2006/08/10
- Re: CC=cc ./configure or ./configure CC=cc, Karl Berry, 2006/08/10
- Re: CC=cc ./configure or ./configure CC=cc, Karl Berry, 2006/08/10
- Re: CC=cc ./configure or ./configure CC=cc, Ralf Wildenhues, 2006/08/11
- Re: CC=cc ./configure or ./configure CC=cc, Ralf Wildenhues, 2006/08/15
- Re: CC=cc ./configure or ./configure CC=cc, Karl Berry, 2006/08/17