Thread View: alt.msdos.programmer
1 messages
1 total messages
Started by Mischa Sandberg
Sun, 06 Sep 1992 12:30
Re: Linking Microsoft library with Borland
Author: 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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads