delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/19/21:28:47

Message-ID: <388637B2.333A30C6@connection.com>
Date: Wed, 19 Jan 2000 17:16:18 -0500
From: sam <samirw AT connection DOT com>
X-Mailer: Mozilla 4.6 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: libraries headaches
NNTP-Posting-Host: 216.13.21.3
X-Trace: 19 Jan 2000 17:13:32 -0500, 216.13.21.3
Lines: 18
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have been trying too convert some MSC libraries for use with djgpp and
am encountering some problems.

I have modified my (future) library code and saved it as .CC compiled
and created library. After several days of fiddling and searching while
attempting to compile a test.cc I found out that libraries must start
with lib and specified in RHIDE without the leading LIB and trailing .A
Ok so now RHIDE is finding it, but still complains about undefined
reference,.Eventualy I tried it from the command line and only when
I renamed test.cc to test.c it worked but not in RHIDE.

So who can tell me how to name my functions so that I can write C++ code
and libraries.

I have stumbled across the term 'name mangling'???
What are shared libraries? C & C++?

Thankyou in advance.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019