From: mihasan AT odin DOT fli DOT sh DOT bosch DOT de Newsgroups: comp.os.msdos.programmer,comp.os.msdos.djgpp Subject: Q: Linking gcc object files w/ Borland library Date: 16 Oct 1997 08:53:56 GMT Organization: Robert Bosch GmbH Lines: 29 Distribution: world Message-ID: NNTP-Posting-Host: odin.fli.sh.bosch.de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi, we have a large project on DOS entirely written in C with the GNU C Compiler. But we now find that we can't link the gcc object files with a library written in Borland C. Unfortunately we don't have the sources for that specific library. The library has the extension .obj, while the GNU object files have the extension .o. Even if we rename the Borland library from .obj to .o, we get the link message "File not recognized: File format not recognized". What object file format is used on DOS, what is the name of the object file format that gcc creates, and how can the two be linked? Any help would be very much appreciated Thanx Michael ----------------------------------------------------------- Michael Hasan Oracle Consulting Services Stuttgart, Germany Email: mhasan AT de DOT oracle DOT com