delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/29/12:03:10

Date: Wed, 29 Sep 1999 10:30:36 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: linking with MS VC++ 5 an obj from djgpp
In-Reply-To: <37f0e3ff.3719729@news.tin.it>
Message-ID: <Pine.SUN.3.91.990929103015.11087O-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 28 Sep 1999, Guido wrote:

> I'd like to use an .o (fft.o) file compiled (C language) with djgpp
> inside a VisualC++ 5 application. I declare the function (named FAST)
> present in the .o file

Sorry, you can't.  Mixing object files from different compilers
doesn't work in general.

> fft.obj : error LNK2001: unresolved external symbol ___dj_stderr

This is exactly the kind of problems you will get when trying to link
object files from different compilers.  An object file includes
references to external functions and objects private to the library of
the compiler you used to compile.  ___dj_stderr is one of these
private objects.

- Raw text -


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