[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: groff 1.19.1 build glitches on Solaris 8 with GCC 3.4.0
From: |
Werner LEMBERG |
Subject: |
Re: groff 1.19.1 build glitches on Solaris 8 with GCC 3.4.0 |
Date: |
Sun, 23 May 2004 22:50:30 +0200 (CEST) |
> gcc -I. -I. -I/reb/src/base/groff/src/include
> -I/reb/src/base/groff/src/include -DHAVE_CONFIG_H -DSTDC_HEADERS=1
> -fno-for-scope -g -O2 -c getopt.c
>
> cc1: warning: command line option "-fno-for-scope" is valid for
> C++/ObjC++ but not for C
Uh, oh, I don't know how -fno-for-scope has been inserted. This
doesn't occur in the groff distribution.
> ld: warning: relocation error: [...]
I see this the first time.
> I suppose a workaround for the second problem is to not use -g on
> Solaris with GCC 3.4.0. I haven't tested this, though.
Please do a test; I'll then add your solution to groff's PROBLEMS
file.
Thanks for the report.
Werner