[ATTN] GCC and make Maintainers: SUS V5 POSIX 2024 make CC default c17

Marco Atzeri marco.atzeri@gmail.com
Sun Nov 1 06:59:33 GMT 2026


On 01/11/2026 00:39, Brian Inglis via Cygwin-apps wrote:
> Hi folks.
> 
> SUS V5 POSIX 2024, quoted at bottom, shows that POSIX conformant make 
> sets the default value for CC = c17, which is not installed in Cygwin.
> 
> For POSIX conformance, could we please have c17 installed in upcoming 
> releases of gcc-core, assuming there is some method for having it 
> defined and installed to support -std=c17 or -std=gnu17 by default.
> 
> Could we please also have make updated to default to this setting, 
> assuming there are POSIX updates or options available.
> 

make has no default on the matter.
It takes cc as default compiler

$ make -p  | grep -i "^compile"
make: *** No targets specified and no makefile found.  Stop.
COMPILE.m = $(OBJC) $(OBJCFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
COMPILE.mod = $(M2C) $(M2FLAGS) $(MODFLAGS) $(TARGET_ARCH)
COMPILE.c = $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
COMPILE.p = $(PC) $(PFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
COMPILE.cpp = $(COMPILE.cc)
COMPILE.def = $(M2C) $(M2FLAGS) $(DEFFLAGS) $(TARGET_ARCH)
COMPILE.C = $(COMPILE.cc)
COMPILE.f = $(FC) $(FFLAGS) $(TARGET_ARCH) -c
COMPILE.r = $(FC) $(FFLAGS) $(RFLAGS) $(TARGET_ARCH) -c
COMPILE.S = $(CC) $(ASFLAGS) $(CPPFLAGS) $(TARGET_MACH) -c
COMPILE.s = $(AS) $(ASFLAGS) $(TARGET_MACH)
COMPILE.F = $(FC) $(FFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
COMPILE.cc = $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c

$ make -p  | grep -i "^cc"
make: *** No targets specified and no makefile found.  Stop.
CC = cc

$ cc --version
cc (GCC) 14.4.0
..

Regards
Marco




More information about the Cygwin-apps mailing list