cc: [email protected]
Subject: Re: [uwin-users] configuring groff in UWIN
--------
> When I attempt to configure groff using ksh on UWIN, I get 8 errors:
> Â
> 16 bit MS DOS subsystem NTVDM CPU has encountered an illegal instruction...
> Â
> Is this typical? Is there a fix? I am sure my OS (XP PRO, UWIN 4.n) is 32 bit.
> Â
> I ignore the error messages, and the configure does not work. Should I,
> rather,
> close the error message?
> Â
> MEL
> 090310.1430
>
What compiler are you using? Here is the results of configure with
groff version 1.19 using the UWIN cc command with Visual C/C++ 8.0
as the underlying compiler. I received no 16 bit warnings.
The groff package is on the uwin download site.
================== output from configure --prefix=/usr ==============
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... CC
checking whether we are using the GNU C++ compiler... no
checking whether CC accepts -g... yes
checking that C++ compiler can compile simple program... yes
checking that C++ static constructors and destructors are called... yes
checking that header files support C++... yes
checking whether character set is EBCDIC... no
checking how to run the C preprocessor... cc -E
checking for X... libraries /usr/X11/lib, headers /usr/X11/include
checking whether -R must be followed by a space... neither works
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for Xaw library and header files... no
checking for Xmu library and header files... no
configure: gxditview and xtotroff won't be built
checking for lpr... lpr
checking for lp... lp
checking for lpq... lpq
checking for command to use for printing PostScript files... lpr
checking for command to use for printing dvi files... lpr -d
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for perl... /usr/bin/perl
checking for byacc... no
checking for bison... no
checking for makeinfo... makeinfo
checking for makeinfo version... 4.8
checking for ranlib... ranlib
checking for install-info... install-info
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for csh hash hack... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking direct.h usability... yes
checking direct.h presence... yes
checking for direct.h... yes
checking process.h usability... yes
checking process.h presence... yes
checking for process.h... yes
checking for ISC 3.x or 4.x... no
checking whether -D_POSIX_SOURCE is necessary... no
checking for return type of srand... void
checking whether gettimeofday must be declared... no
checking whether hypot must be declared... no
checking whether popen must be declared... no
checking whether pclose must be declared... no
checking whether putenv must be declared... no
checking whether rand must be declared... no
checking whether snprintf must be declared... no
checking whether srand must be declared... no
checking whether strcasecmp must be declared... no
checking whether strncasecmp must be declared... no
checking whether vfprintf must be declared... no
checking whether vsnprintf must be declared... no
checking for sys_nerr in <errno.h>, <stdio.h>, or <stdlib.h>... yes
checking for sys_errlist in <errno.h>, <stdio.h>, or <stdlib.h>... yes
checking C++ <osfcn.h>... no
checking C++ <limits.h>... yes
checking C++ <inttypes.h>... yes
checking for unsigned long long... yes
checking for declaration of time_t... yes
checking for return type of signal handlers... void
checking struct exception... no
checking whether byte ordering is bigendian... no
checking for main in -lc... yes
checking for sin in -lm... yes
checking build system type... i1586-pc-uwin
checking host system type... i1586-pc-uwin
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for iconv... no, consider installing GNU libiconv
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... no
checking for fmod... yes
checking for getcwd... yes
checking for putenv... yes
checking for snprintf... yes
checking for strcasecmp... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for vsnprintf... yes
checking for gettimeofday... yes
checking for isatty... yes
checking for kill... yes
checking for rename... yes
checking for setlocale... yes
checking for strsep... yes
checking for mkstemp... yes
checking whether sys_siglist is declared... no
checking whether getc_unlocked is declared... yes
checking for nl_langinfo and CODESET... yes
checking whether ANSI array delete syntax is supported... yes
checking traditional preprocessor... no
checking w_coredump... no
checking default value for grops -b option... 0
checking default paper size... letter
checking for existing troff installation... no
checking for prefix of system macro packages...
checking which system macro packages should be made available...
checking separator character to use in groff search paths... :
checking for gs... no
checking for gswin32c... no
checking for gsos2... no
checking for pnmcut... missing
checking for pnmcrop... missing
checking for pnmtopng... missing
checking for psselect... missing
checking for pnmtops... missing
configure: WARNING: missing programs:
The programs
`pnmcut', `pnmcrop', `pnmtopng', `psselect', `pnmtops' and `gs'
cannot be found in the PATH.
Consequently, groff's HTML backend (grohtml) will not work properly;
therefore, it will neither be possible to prepare, nor to install,
documentation in HTML format.
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
configure: WARNING: missing program:
The program `gs' cannot be found in the PATH.
Consequently, groff's PDF formatter (pdfroff) will not work properly;
therefore, it will neither be possible to prepare, nor to install,
documentation in PDF format.
checking whether pnmtops can handle the -nosetpage option... no
checking whether we are using the GNU C Library 2.1 or newer... no
configure: creating ./config.status
config.status: creating stamp-h
config.status: creating Makefile
config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting
config.status: creating doc/Makefile
config.status: creating src/utils/xtotroff/Makefile
config.status: creating contrib/gdiffmk/tests/runtests
config.status: creating test-groff
config.status: creating src/include/config.h
config.status: src/include/config.h is unchanged
================== end output from configure --prefix=/usr ==============
======================generated src/include/config.h=====================
/* src/include/config.h. Generated from config.hin by configure. */
/* src/include/config.hin. Generated from configure.ac by autoheader. */
/* Define if your C++ doesn't understand `delete []'. */
/* #undef ARRAY_DELETE_NEEDS_SIZE */
/* Define if you have a C++ <inttypes.h>. */
#define HAVE_CC_INTTYPES_H 1
/* Define if you have a C++ <limits.h>. */
#define HAVE_CC_LIMITS_H 1
/* Define if you have a C++ <osfcn.h>. */
/* #undef HAVE_CC_OSFCN_H */
/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
don't. */
#define HAVE_DECL_GETC_UNLOCKED 1
/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
don't. */
#define HAVE_DECL_SYS_SIGLIST 0
/* Define to 1 if you have the <direct.h> header file. */
#define HAVE_DIRECT_H 1
/* Define to 1 if you have the <dirent.h> header file. */
#define HAVE_DIRENT_H 1
/* Define to 1 if you have the `fmod' function. */
#define HAVE_FMOD 1
/* Define to 1 if you have the `getcwd' function. */
#define HAVE_GETCWD 1
/* Define to 1 if you have the `getpagesize' function. */
#define HAVE_GETPAGESIZE 1
/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1
/* Define if you have the iconv() function. */
/* #undef HAVE_ICONV */
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the `isatty' function. */
#define HAVE_ISATTY 1
/* Define to 1 if you have the `kill' function. */
#define HAVE_KILL 1
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#define HAVE_LANGINFO_CODESET 1
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if you have the <math.h> header file. */
#define HAVE_MATH_H 1
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define if you have mkstemp(). */
#define HAVE_MKSTEMP 1
/* Define to 1 if you have a working `mmap' system call. */
/* #undef HAVE_MMAP */
/* Define to 1 if you have the <process.h> header file. */
#define HAVE_PROCESS_H 1
/* Define to 1 if you have the `putenv' function. */
#define HAVE_PUTENV 1
/* Define to 1 if you have the `rename' function. */
#define HAVE_RENAME 1
/* Define to 1 if you have the `setlocale' function. */
#define HAVE_SETLOCALE 1
/* Define to 1 if you have the `snprintf' function. */
#define HAVE_SNPRINTF 1
/* Define to 1 if you have the <stddef.h> header file. */
#define HAVE_STDDEF_H 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `strcasecmp' function. */
#define HAVE_STRCASECMP 1
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the `strncasecmp' function. */
#define HAVE_STRNCASECMP 1
/* Define to 1 if you have the `strsep' function. */
#define HAVE_STRSEP 1
/* Define to 1 if you have the `strtol' function. */
#define HAVE_STRTOL 1
/* Define if <math.h> defines struct exception. */
/* #undef HAVE_STRUCT_EXCEPTION */
/* Define to 1 if you have the <sys/dir.h> header file. */
#define HAVE_SYS_DIR_H 1
/* Define if you have sys_errlist in <errno.h>, <stdio.h>, or <stdlib.h>. */
#define HAVE_SYS_ERRLIST 1
/* Define if you have sys_nerr in <errno.h>, <stdio.h>, or <stdio.h>. */
#define HAVE_SYS_NERR 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define to 1 if you have the `vsnprintf' function. */
#define HAVE_VSNPRINTF 1
/* Define as const if the declaration of iconv() needs const. */
/* #undef ICONV_CONST */
/* Define if the host's encoding is EBCDIC. */
/* #undef IS_EBCDIC_HOST */
/* Define if localtime() takes a long * not a time_t *. */
/* #undef LONG_FOR_TIME_T */
/* Define if your C++ doesn't declare gettimeofday(). */
/* #undef NEED_DECLARATION_GETTIMEOFDAY */
/* Define if your C++ doesn't declare hypot(). */
/* #undef NEED_DECLARATION_HYPOT */
/* Define if your C++ doesn't declare pclose(). */
/* #undef NEED_DECLARATION_PCLOSE */
/* Define if your C++ doesn't declare popen(). */
/* #undef NEED_DECLARATION_POPEN */
/* Define if your C++ doesn't declare putenv(). */
/* #undef NEED_DECLARATION_PUTENV */
/* Define if your C++ doesn't declare rand(). */
/* #undef NEED_DECLARATION_RAND */
/* Define if your C++ doesn't declare snprintf(). */
/* #undef NEED_DECLARATION_SNPRINTF */
/* Define if your C++ doesn't declare srand(). */
/* #undef NEED_DECLARATION_SRAND */
/* Define if your C++ doesn't declare strcasecmp(). */
/* #undef NEED_DECLARATION_STRCASECMP */
/* Define if your C++ doesn't declare strncasecmp(). */
/* #undef NEED_DECLARATION_STRNCASECMP */
/* Define if your C++ doesn't declare vfprintf(). */
/* #undef NEED_DECLARATION_VFPRINTF */
/* Define if your C++ doesn't declare vsnprintf(). */
/* #undef NEED_DECLARATION_VSNPRINTF */
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT ""
/* Define to the full name of this package. */
#define PACKAGE_NAME ""
/* Define to the full name and version of this package. */
#define PACKAGE_STRING ""
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME ""
/* Define to the version of this package. */
#define PACKAGE_VERSION ""
/* Define if the printer's page size is A4. */
/* #undef PAGEA4 */
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
/* Define if srand() returns void not int. */
#define RET_TYPE_SRAND_IS_VOID 1
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define if your C++ compiler uses a traditional (Reiser) preprocessor. */
/* #undef TRADITIONAL_CPP */
/* Define if the 0200 bit of the status returned by wait() indicates whether a
core image was produced for a process that was terminated by a signal. */
/* #undef WCOREFLAG */
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
/* #undef WORDS_BIGENDIAN */
/* Define to 1 if the X Window System is missing or not being used. */
/* #undef X_DISPLAY_MISSING */
/* Define if -D_POSIX_SOURCE is necessary. */
/* #undef _POSIX_SOURCE */
/* Define if you have ISC 3.x or 4.x. */
/* #undef _SYSV3 */
/* Define uintmax_t to `unsigned long' or `unsigned long long' if <inttypes.h>
does not exist. */
/* #undef uintmax_t */
======================end generated src/include/config.h=====================
David Korn
[email protected]
_______________________________________________
uwin-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/uwin-users