Add XDR support (only built #if cygwin, for now)

Charles Wilson
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 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/
"EXTRA_SOURCES" is a bad name -- automake gives the following warnings:
xdr/ variable `EXTRA_SOURCES' is defined but no program or
xdr/ 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/

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
	* libc/xdr/ Eliminate automake warning.
	* libc/xdr/ Regenerate.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: xdr-fixups.patch
Type: text/x-patch
Size: 7074 bytes
Desc: not available
URL: <>

More information about the Newlib mailing list