From: Stefan Strobel (strobel@sun1.rz.fh-heilbronn.de)
Date: 01/30/93


From: strobel@sun1.rz.fh-heilbronn.de (Stefan Strobel)
Subject: Linking old C with C++ .o files ?
Date: 30 Jan 1993 13:57:06 GMT

I am trying to link a C program, partially generated from rpcgen with a X - frontend
in C++ (UIC)

The Problem is that the C++ program doesnt find the routines written in C if I compile
them with gcc and the C++ part with g++. I always get an error message while linking

Do C and C++ use a different .o format or linking scheme ?

How can I combine them ?

I can't compile the RPC routines with g++ because rpcgen creates old K&R style C

What can I do ?
Where can I find the manual for gcc (not only the info files)
 
Stefan
===============================
strobel@sun1.rz.fh-heilbronn.de