www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/29/06:38:37

Date: Thu, 29 Aug 1996 13:30:08 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
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: <Pine.SUN.3.91.960829132113.16449C-100000@is>
Mime-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019