Article View: alt.msdos.programmer
Article #270Re: Linking Microsoft library with Borland
From: Mischa Sandberg
Date: Sun, 06 Sep 1992 12:30
Date: Sun, 06 Sep 1992 12:30
22 lines
1567 bytes
1567 bytes
One of the problems with linking OBJ's from MS-C with Borland is,
they implement different certain low-level operations differently,
and have different assumptions about the CRTS initialization.
You can do it, but you have to extract the ASM routines from the
MS library for such things as long-by-long multiply and shift, AND
hand-code the run-time start-up routine to initialize the 8087 flag,
as both of them see it, etc. But you'll be able to figure out what
exactly you need in the same way I did: keep on extracting and
rewriting until there are no more unresolved externals for TLINK.
No pain, no gain. Perhaps I was lucky, but at least there were no
direct conflicts between the two CRTS's and namesets. Be prepared
to patch the symbol table of some of the MS .OBJ's, though, and
better make it into an automated routine, because you'll probably
be doing it more than once :-).
--
Mischa Sandberg ... Mischa_Sandberg@mindlink.bc.ca
or uunet!van-bc!rsoft!mindlink!Mischa_Sandberg
*-*-*-*-*-*-*-*-*-*-*
Engineers think equations are an approximation of reality.
Physicists think reality is an approximation of the equations.
Mathematicians never make the connection.
Technical Details
Message-ID:
<14886@mindlink.bc.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!rsoft!mindlink!a269Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!rsoft!mindlink!a269 From: Mischa_Sandberg@mindlink.bc.ca (Mischa Sandberg) Newsgroups: alt.msdos.programmer Subject: Re: Linking Microsoft library with Borland Message-ID: <14886@mindlink.bc.ca> Date: 6 Sep 92 12:30:36 GMT Organization: MIND LINK! - British Columbia, Canada Distribution: world Lines: 22