delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/30/12:22:38

X-Spam-Check-By: sourceware.org
Message-ID: <43DE4B53.4040001@freescale.com>
Date: Mon, 30 Jan 2006 18:22:27 +0100
From: Christian Gagneraud <cgag1c AT freescale DOT com>
User-Agent: Thunderbird 1.5 (Windows/20051025)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: rpcgen question
References: <43D8FBD4 DOT 9020501 AT freescale DOT com> <43D9A764 DOT 3040202 AT byu DOT net> <43D9DA3F DOT 8080008 AT freescale DOT com> <1138366724 DOT 27531 DOT 252904543 AT webmail DOT messagingengine DOT com>
In-Reply-To: <1138366724.27531.252904543@webmail.messagingengine.com>
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

Hi all,

just for info, i have succesfully build and run my rpc code that was originally 
developped for GNU/Linux.

The problem was simply solved by generating the code with linux (pc GNU/Linux) 
and build/run it on windows.

But now i'm trying to build it for mingw32 (without multi-thread support) and 
facing some issues.

Does anyone have useful information about rpc/linux/cygwin and mingw32.

I have found lot of information about this problem, but it doesn't seems there 
is a maintained version of sunrpc or oncrpc that can be used cross-used.

Christian.



Brett Serkez wrote:
> <snip>
>> 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 */
> 
> Correct, the features in question were added later.
> 
>> 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! :(
> 
> A good idea.  It may not be necessary to regenerate the code for every
> platform.  Working on projects in the past, it was the norm to generate
> and check-in the generated code on the primary UNIX platform, and only
> compile on the various UNIXies/Linux.  Much of the upgraded
> functionality is in the code generator, althought threading depends upon
> the appropriate threading libraries availability on each platform.
> 
> Brett
> ----------------------------------------------------------------
> Brett C. Serkez, Techie


-- 
+---------------------------------------------------------+
| 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