sys/cdefs.h or maybe gcc build issue
Mon Oct 31 11:05:00 GMT 2016
On 10/30/2016 5:09 PM, Brian Inglis wrote:
> On 2016-10-30 12:23, cyg Simple wrote:
>> The below sample code will give a warning that visibility isn't
>> supported in this configuration. Either the GCC build is incorrect or
>> the sys/cdefs.h needs to be modified to define __hidden to empty.
I figured that out but that means sys/cdefs.h as delivered needs to ...
> gcc wiki demonstrates what needs to be done instead:
> at a minimum add `&& !define(__CYGWIN__)`; other posts also exclude
consider this and define __hidden and other visibility helper macros as
> MinGW and ARM-PE (W10 Surface, IoT) targets using PE format not ELF;
> gcc notes not all ELF targets support this:
If others deliver a sys/cdefs.h then it should at least declare these
helper macros as empty but that isn't for this list.
> Which raises the interesting question - anyone tried porting Cygwin
> to non-x86 arch?
Maybe but I don't know.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin