Date: Thu, 29 Aug 1996 13:30:08 +0200 (IST) From: Eli Zaretskii To: ProfXanth AT aol DOT com Cc: djgpp AT delorie DOT com Subject: Re: Conversion problems In-Reply-To: <960829052457_512196281@emout08.mail.aol.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 29 Aug 1996 ProfXanth AT aol DOT com wrote: > I recently switched to djgpp after a program I was working on no longer was > able to compile under my previous compiler. I was using a ".a" file as an > aid to my program. Using my first compiler, I converted this file to object > format and tried to link my program to this (in object format) with both > compilers, but neither compiler understood the object files of the other. I > haven't found out how to convert the ".a" file to object directly from djgpp > (this should solve my problem). How can I do it? Mixing object files from different compilers is usually bad idea. It usually doesn't work. If you have the source to the program, it is much easier to recompile it with a single compiler, even if that requires to rewrite some of the code. If recompiling everything is not an option (e.g., you don't have all the sources), download the DJGPP FAQ list (v2/faq201b.zip from the same place you get DJGPP) and read sections 17.4-17.6 there: they describe some techniques and tools that you might try.