[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.


*** 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:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]