🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #641

g++ and cc object compatibility

#641
From: Constraint Management
Date: Thu, 20 Jun 1991 13:40
12 lines
1152 bytes
I have a program written in c++, compiled under g++ version 1.39.
I want to link this to a library, written in c and compiled with cc.
The problem is the c++ program does not recognize function calls to
the library.  This is because of the differences in the object files,
through examples I was able to determine that.  It would be almost 
impossible to transform the library to compile under g++, as it consist
of years of work.  If anyone knows of any flags in order to obtain
object file compatibility I would greatly appreciate your assistance.

		Thank you
		Brian Massey
		conman user group
Technical Details
Message-ID: <1890@babcock.cerc.wvu.wvnet.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
From: conman@hawksnest.cerc.wvu.wvnet.edu (Constraint Management)
Newsgroups: gnu.g++.help,comp.lang.c++
Subject: g++ and cc object compatibility
Message-ID: <1890@babcock.cerc.wvu.wvnet.edu>
Date: 20 Jun 91 13:40:29 GMT
Sender: daemon@tut.cis.ohio-state.edu
Followup-To: yposter
Organization: Gatewayed from the GNU Project mailing list help-g++@prep.ai.mit.edu
Lines: 12