[Mingw-users] Problems building gcc 8.1.0

Back to archive index

David Gressett DGres****@amli-*****
Tue Jul 3 07:21:17 JST 2018


The patches  for Gcc 7.3.0 were easily ported to gcc 8.1.0, but more needs to be done.

The first failure occurred when compiling libiberty. 

There were many changes and additions in the gcc 8.1.0 libiberty.

The failure occurred in the compilation of simple-object-elf.c

The error was an undefined constant ENOTSUP.

A brief bit of web searching revealed that ENOTSUP is a POSIX creation and should be in errno.h

There seems to be no standard numeric value for it.

The online Microsoft documentation mentions it, but gives no numeric value.

Looking at the MinGW errno.h, I'm guessing that it has not changed much in recent years.

I suspect that it may now be time for MinGW to start catching up with POSIX, as the gcc crew may be trying to do that.




More information about the MinGW-Users mailing list
Back to archive index