[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
m4-1.4.7 on DEC Alpha OSF/1 with alternate snprintf() library
From: |
Nelson H. F. Beebe |
Subject: |
m4-1.4.7 on DEC Alpha OSF/1 with alternate snprintf() library |
Date: |
Fri, 29 Sep 2006 15:23:22 -0600 (MDT) |
As I reported recently, the problem with the snprintf() library built
from
http://www.ijs.si/software/snprintf/snprintf_2.2.tar.gz
on DEC Alpha OSF/1 4.0 that caused a test failure with m4-1.4.7 goes
away when that library is omitted from LIBS at configure time.
Since then, we have tracked down another, more complete,
implementation of snprintf() in the GPL code at
http://www.netsw.org/system/libs/string/snprintfv-0.98h.tar.gz
I've just built a library with it using the native cc compiler,
-lsnprintfv, and rerun the test builds of m4-1.4.7 with cc and gcc
using that library. All tests pass flawlessly.
Thus, the snprintfv library seems to be an acceptable fallback for
those older systems that lack snprintf() in -lc, and I plan to replace
-lsnprintf and -lgccsnprintf with -lsnprintfv in builds on OSF/1 4.0.
In the list of almost 30 systems for which I posted m4-1.4.7 build
successes yesterday, OSF/1 4.0 is the ONLY once that lacks snprintf(),
which is part of both POSIX and C99 (but absent from C89). Even
Minix-3 and the NetBSD and OpenBSD SIMH VAXes have snprintf().
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: address@hidden -
- 155 S 1400 E RM 233 address@hidden address@hidden -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- m4-1.4.7 on DEC Alpha OSF/1 with alternate snprintf() library,
Nelson H. F. Beebe <=