bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash on Tru64


From: Chet Ramey
Subject: Re: bash on Tru64
Date: Wed, 30 Jun 2021 13:33:54 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 6/29/21 4:38 PM, Jay K wrote:

rm -f man2html.o
cc -c  -DHAVE_CONFIG_H -DSHELL  -I/usr/users/jay/s/bash-5.1.8 -I..   -g 
-Wno-parentheses -Wno-format-security man2html.c
cc  -DHAVE_CONFIG_H -DSHELL  -I/usr/users/jay/s/bash-5.1.8 -I..   -g 
-Wno-parentheses -Wno-format-security man2html.o -o man2html
ld:
Invalid flag usage: Wno-parentheses, -Wx,-option must appear after 
-_SYSTYPE_SVR4
ld: Usage: ld [options] file [...]
make[1]: *** [Makefile:80: man2html] Error 1
make[1]: Leaving di

I think the flags are ok on the compiler, ignored, but error on the linker.
They should be autoconfed? Eh, they probably are, but then compiler is linker.
Remove them for linking?

Did the same thing happen when linking builtins/mkbuiltins?

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

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