Mail Archives: djgpp/1998/06/18/06:20:34
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.
- Raw text -