🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53443

GCC and RPC

#53443
From: Gail Murphy
Date: Tue, 28 Jan 1992 16:27
16 lines
1164 bytes
Thanks for all the reponses.  The overwelhming conclusion is that GCC
and RPC do not work together right now (although they should in GCC 2.0).  
Advice offerred:
	
	+ use the GCC option -fpcc-struct-return
and
	+ write wrapper functions for each rpc function that passes
	  a structure and have it take a pointer to the structure
	  and pass it on to the real rpc routine.

Thanks again, Gail.

Gail Murphy                     | Voice : (604) 293-5462
MPR Teltech Ltd. 		| Fax   : (604) 293-5787
8999 Nelson Way, Burnaby, BC    | E-Mail: murphy@mprgate.mpr.ca
Canada, V5A 4B5                 |         mprgate.mpr.ca!murphy@uunet.uu.net
Technical Details
Message-ID: <1992Jan28.162745.13545@mprgate.mpr.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!van-bc!ubc-cs!mprgate.mpr.ca!photon!murphy

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,bf8a98fc5909897d,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-01-28 22:58:10 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!van-bc!ubc-cs!mprgate.mpr.ca!photon!murphy
From: murphy@photon.mpr.ca (Gail Murphy)
Subject: GCC and RPC
Message-ID: <1992Jan28.162745.13545@mprgate.mpr.ca>
Sender: news@mprgate.mpr.ca
Reply-To: murphy@photon.mpr.ca
Organization: MPR Teltech Ltd.
Date: Tue, 28 Jan 92 16:27:45 GMT