Article View: gnu.gcc.help
Article #51064[Q] calling C-libs from C++-progr.
From: Martin H. Ludwig
Date: Sat, 26 Jun 1993 09:17
Date: Sat, 26 Jun 1993 09:17
9 lines
1093 bytes
1093 bytes
I want to call some functions of my old C-library from my C++ program. Due to the different calling format the linker replies errors: He seaches for the complete functions with the types of the arguments but in the libs there are only the simple function names with an underscore (C-convention I think). My question: How can I call my C-library function from my C++-program? I use GCC V2.3.3 under Linux Thanks Martin
Technical Details
Message-ID:
<19930626091718.not-for-mail@CD41013.rz.ruhr-uni-bochum.de>Path:
arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!news.dfn.de!rubb.rz.ruhr-uni-bochum.de!CD41013.rz.ruhr-uni-bochum.deShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,58920fb64c8274fe,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-06-26 00:18:06 PST Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!news.dfn.de!rubb.rz.ruhr-uni-bochum.de!CD41013.rz.ruhr-uni-bochum.de From: not-for-mail@rubb.rz.ruhr-uni-bochum.de (Martin H. Ludwig ) Newsgroups: gnu.gcc.help Subject: [Q] calling C-libs from C++-progr. Date: Sat, 26 Jun 1993 09:17 MDZ Organization: RZ Ruhr-Universitaet Bochum Lines: 9 Distribution: world Message-ID: <19930626091718.not-for-mail@CD41013.rz.ruhr-uni-bochum.de> NNTP-Posting-Host: 134.147.224.22 X-Newsreader: FTPNuz (DOS) v1.0