This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
AIX's cc doesn't like -W -Wall
- To: egcs-bugs at cygnus dot com
- Subject: AIX's cc doesn't like -W -Wall
- From: Yotam Medini <yotamm at tmai dot com>
- Date: Fri, 19 Sep 1997 16:03:35 -0700
- Reply-To: yotam_medini at tmai dot com
While trying to build on AIX I get:
cc -c -DIN_GCC -W -Wall -If -I./f -I. -I. -I./config f/bad.c -o f/bad.o
cc: 1501-208 command option W is missing a subargument
make[6]: *** [f/bad.o] Error 40
make[6]: Leaving directory `/tmp_mnt/home/seg/yotam/build/AIX/egcs/egcs-970917/gcc'
How about changing in gcc/f/Makefile.in
ALL_CFLAGS = $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS) $(XCFLAGS) -W -Wall
into:
ALL_CFLAGS = $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS) $(XCFLAGS)
ifneq ($(CC),$(OLDCC))
ALL_CFLAGS += -W -Wall
endif
egcs-guys: have a nice weekend!
-- yotam