This is the simple calculator rewritten on Linux using the current rpcgen. mc.x is as it used to be. % rpcgen -a mc.x generates all the files we need including templates for the client and the server. I modified the Makefile.mc file produced by rpcgen by just renaming it Makefile. I modified the mc_client.c file to insert a trivial user interface. I modified the mc_svc.c file to insert the code to do the addition and subtraction. Then I did % make and the client and server where there and usable: % mc_server & % mc_client localhost