This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, On Cygwin I'm building gcc-4.91 along with newlib-2.1.0 for a mingw host and an m68k ELF target. Building newlib failed when trying to compile io-read.c because the return type of read is a ssize_t but the prototype uses _READ_WRITE_RETURN_TYPE which in my configuration was defined to int. The attached patch fixed the problem. Cheers, Keith Clifford
Attachment:
newlib-2.1.0.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |