rpcgen question

Christian Gagneraud cgag1c@freescale.com
Fri Jan 27 08:39:00 GMT 2006


Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> According to Christian Gagneraud on 1/26/2006 9:41 AM:
>> I think that the rpcgen from RH comes from the glibc and rpcgen from
>> cygwin comes from the "stand alone" package "Sun RPC".
>>
>> My main problem is that i was using -M option (multithread support) -N
>> option (allow multiple args) and that cygwin version of rpcgen doesn't
>> support them.
>>
>> So i can't reuse my current .x file (and some glue code) in cygwin.
>>
>> Is there a glibc based version of rpcgen that run with cygwin?
> 
> Cygwin does not use glibc; instead it is based on newlib.  But since
> newlib and glibc both provide a similar set of functions, it may be
> possible that the RH rpcgen package can be compiled on cygwin.  All I can
> do is recommend trying it yourself.

Hi Eric,

On GNU/Linux, rpcgen comes from the glibc, so if cygwin is based on newlib, i 
think it should be hard to build RH's version on cygwin.

Since yesterday, i have made some investigation, and i have found that rpcgen 
comes from the same package (both on RH and cygwin), but it's a problem of version:
- RH: /* @(#)rpc.h    2.4 89/07/11 4.0 RPCSRC; from 1.9 88/02/08 SMI */
- Cygwin: /* @(#)rpc.h    2.3 88/08/10 4.0 RPCSRC; from 1.9 88/02/08 SMI */

And finaly, i will try to keep the generated code on linux and try to build/use 
it on cygwin... Don't know if it's a good or bad idea! :(

Christian


> 
> - --
> Life is short - so eat dessert first!
> 
> Eric Blake             ebb9@byu.net
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (Cygwin)
> Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFD2adk84KuGfSFAYARAsiYAJ9EZSJeyQackjRrnkcrtT9TL1HWJQCgpcG7
> F1fT5idWWGjBMwEyKuDi3lY=
> =QcxD
> -----END PGP SIGNATURE-----


-- 
+---------------------------------------------------------+
| Chritian Gagneraud                                      |
|  SW Test & QA Engineer, 3G Linux Platform               |
| CELAD on behalf of Freescale Semiconductor - WBSG EMEA  |
| Phone:  33-(0)5.61.19.99.74                             |
| eMail:  cgag1c@freescale.com                            |
+---------------------------------------------------------+


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list