delorie.com/archives/browse.cgi | search |
Message-ID: | <37F0EF4A.CF34176E@crosswinds.net> |
From: | Ishpeck <ishpeck AT crosswinds DOT net> |
Organization: | Lunaticnologies |
X-Mailer: | Mozilla 4.6 [en] (X11; I; Linux 2.2.9-19mdk i686) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: linking with MS VC++ 5 an obj from djgpp |
References: | <37f0e3ff DOT 3719729 AT news DOT tin DOT it> |
Lines: | 24 |
NNTP-Posting-Host: | 192.41.69.42 |
X-Trace: | typ12.nn.bcandid.com 938536730 192.41.69.42 (Tue, 28 Sep 1999 12:38:50 EDT) |
NNTP-Posting-Date: | Tue, 28 Sep 1999 12:38:50 EDT |
Date: | Tue, 28 Sep 1999 10:39:38 -0600 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
That's a little hairy. There are some DJGPP things that won't like MS stuff. You're better off watering it down to ANSI C before you try anything like that. Guido wrote: > > I'm not an expert... > 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 > > extern "C" int FAST(float*, int); > > I renamed the function to fft.obj to feed the linker (the microsoft > one). The error is > > fft.obj : error LNK2001: unresolved external symbol ___dj_stderr > > does it want a djgpp library to link together? -- Those who seek enlightenment may turn to Ishpeck the wise. http://come.to/ishpeck/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |