Date: Thu, 18 Jun 1998 13:19:13 +0300 (IDT) From: Eli Zaretskii To: Peter Pfannenschmid cc: djgpp AT delorie DOT com Subject: Re: Library conversion Borland-GNU In-Reply-To: <3588be93.1136181@news.uni-augsburg.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 18 Jun 1998, Peter Pfannenschmid wrote: > after playing for quite a while with the command line tools which are > coming with Borland's BCC 5.0, and after crawling through the > documentation of the GNU C++ compiler and its related tools, I am > wondering if there is a way to convert libraries from the Borland > format to the GNU format; that means .LIB -> .a. It would also be > sufficient if I could'nt do this with libraries, but with the object > files. The short answer is NO. To read the detailed answer, download the DJGPP FAQ list (v2/faq210b.zip from the same place you get DJGPP) and read sections 17.5 and 17.6 there. In general, object files from different compilers are incompatible. In C++ it is even more so, since different compilers mangle the names of the functions differently.