delorie.com/archives/browse.cgi | search |
Message-ID: | <3883B177.633EBF3A@connection.com> |
Date: | Mon, 17 Jan 2000 19:19:05 -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.79.51 |
X-Trace: | 17 Jan 2000 19:16:17 -0500, 216.13.79.51 |
Lines: | 16 |
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++?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |