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 c...@case.edu http://tiswww.cwru.edu/~chet/