[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: signbit(), C++, and Solaris 10
From: |
G. Branden Robinson |
Subject: |
Re: signbit(), C++, and Solaris 10 |
Date: |
Fri, 22 Nov 2024 12:23:41 -0600 |
[please keep groff@gnu in replies]
Hi Paul,
At 2024-11-21T21:14:35-0800, Paul Eggert wrote:
> You shouldn't need to put "#include <config.h>" at the start of every
> source file. It needs to be included first at the start of every
> compilation unit; that's good enough.
Ah, thanks for the tip.
> I see that some Groff .h files include config.h:
>
> src/roff/troff/hvunits.h:20:#include <config.h>
> src/preproc/pic/pic.h:22:#include <config.h>
> src/include/lib.h:23:#include <config.h>
> src/include/ptable.h:20:#include <config.h>
> src/include/itable.h:20:#include <config.h>
> src/include/stringclass.h:20:#include <config.h>
>
> Not sure why Groff does that.
My own too-credulous reading of a bug report, probably. I'll take them
out.
> The .cpp or .c file should include config.h first, and .h files should
> therefore not need to include config.h.
>
> This isn't your main problem, though. It's something to do with Gnulib
> and signbit. What C compiler are you using? What commmand do you use
> to configure Groff? (You may need a C++ expert like Bruno to help out
> here....)
config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GNU roff configure 1.23.0.2461-5508c, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/home/gbranden
...
Reading specs from /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/csw/libexec/gcc/sparc-sun-solaris2.10/5.5.0/lto-wrapper
Target: sparc-sun-solaris2.10
Configured with:
/home/dam/mgar/pkg/gcc5/trunk/work/solaris10-sparc/build-isa-sparcv8plus/gcc-5.5.0/configure
--prefix=/opt/csw --exec_prefix=/opt/csw --bindir=/opt/csw/bin
--sbindir=/opt/csw/sbin --libexecdir=/opt/csw/libexec --datadir=/opt/csw/share
--sysconfdir=/etc/opt/csw --sharedstatedir=/opt/csw/share
--localstatedir=/var/opt/csw --libdir=/opt/csw/lib
--infodir=/opt/csw/share/info --includedir=/opt/csw/include
--mandir=/opt/csw/share/man --enable-cloog-backend=isl --enable-java-awt=xlib
--enable-languages=ada,c,c++,fortran,go,java,objc --enable-libada
--enable-libssp --enable-nls --enable-objc-gc --enable-threads=posix
--program-suffix=-5.5 --with-cloog=/opt/csw --with-gmp=/opt/csw
--with-included-gettext --with-ld=/usr/ccs/bin/ld --without-gnu-ld
--with-libiconv-prefix=/opt/csw --with-mpfr=/opt/csw --with-ppl=/opt/csw
--with-system-zlib=/opt/csw --with-as=/usr/ccs/bin/as --without-gnu-as
Thread model: posix
gcc version 5.5.0 (GCC)
Not the freshest release...
The host is part of the FSF France's compiler farm.
gcc210.fsffrance.org
Regards,
Branden
signature.asc
Description: PGP signature
- signbit(), C++, and Solaris 10, G. Branden Robinson, 2024/11/21
- Re: signbit(), C++, and Solaris 10, Paul Eggert, 2024/11/22
- Re: signbit(), C++, and Solaris 10, Damian McGuckin, 2024/11/22
- Re: signbit(), C++, and Solaris 10, Bruno Haible, 2024/11/22
- Re: signbit(), C++, and Solaris 10, Damian McGuckin, 2024/11/22
- Re: signbit(), C++, and Solaris 10,
G. Branden Robinson <=
- Re: signbit(), C++, and Solaris 10, Paul Eggert, 2024/11/22