Message-ID: <3883B177.633EBF3A@connection.com> Date: Mon, 17 Jan 2000 19:19:05 -0500 From: sam X-Mailer: Mozilla 4.6 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: libraries headaches Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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++?