Add XDR support (only built #if cygwin, for now)
Charles Wilson
cygwin@cwilson.fastmail.fm
Tue Mar 2 13:57:00 GMT 2010
Corinna Vinschen wrote:
> On Feb 26 20:01, Charles Wilson wrote:
>> Charles Wilson wrote:
>>> The attached patch(es) add XDR support to newlib. eXternal Data
>> This update is in response to the previous discussion.
>
> Thanks. I applied the patch with these patches. I just forgot to
> regenerate Makefile.in in the first go, so I added it in a second
> checkin.
Thanks. I had a few extant changes I had not yet published -- typos,
grammatical fixes in README, etc.
Also, I was unsure about whether the new header files should include the
RPC declarations, so that the same XDR header files could be used
directly by external RPC implementations. The attached patch adds the
public ones.
Finally, when rebuilding, I found a thinko in xdr/Makefile.am:
"EXTRA_SOURCES" is a bad name -- automake gives the following warnings:
xdr/Makefile.am:20: variable `EXTRA_SOURCES' is defined but no program or
xdr/Makefile.am:20: library has `EXTRA' as canonical name (possible typo)
why this is a problem, but GENERAL_SOURCES and ELIX_SOURCES are not, I
don't know, but the attached fixes both that and regenerates xdr/Makefile.in
2010-03-02 Charles Wilson <...>
* libc/xdr/README: Correct grammatical errors.
* libc/include/rpc/types.h: Add public types used
by RPC implementations.
* libc/include/rpc/xdr.h: Add defines used by RPC
implementations.
* libc/xdr/Makefile.am: Eliminate automake warning.
* libc/xdr/Makefile.in: Regenerate.
--
Chuck
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xdr-fixups.patch
Type: text/x-patch
Size: 7074 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20100302/27355ba4/attachment.bin>
More information about the Newlib
mailing list