Use of -fshort-enums for certain files

Corinna Vinschen vinschen@redhat.com
Tue Apr 2 11:39:00 GMT 2013


On Mar 31 00:53, Michael Bruck wrote:
> libc/stdio/Makefile.in uses "-fshort-enums" for several files.
> 
> This causes problems with ARM targets that have this option disabled
> by default. On ARM the enum format is stored as flag in the elf file
> and the linker notes the discrepancy. So even if this hard-coded flag
> is purely internal in these library files and affects no external
> interfaces it still causes errors when linked with other objects.

Patches to make usage of this flag a configure option are welcome.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat



More information about the Newlib mailing list