delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/27/03:31:16

X-Spam-Check-By: sourceware.org
Message-ID: <43D9DA3F.8080008@freescale.com>
Date: Fri, 27 Jan 2006 09:30:55 +0100
From: Christian Gagneraud <cgag1c AT freescale DOT com>
User-Agent: Thunderbird 1.5 (Windows/20051025)
MIME-Version: 1.0
To: Eric Blake <ebb9 AT byu DOT net>
CC: cygwin AT cygwin DOT com
Subject: Re: rpcgen question
References: <43D8FBD4 DOT 9020501 AT freescale DOT com> <43D9A764 DOT 3040202 AT byu DOT net>
In-Reply-To: <43D9A764.3040202@byu.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 AT byu DOT 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 AT freescale DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019