Article View: comp.os.os2.programmer
Article #1134Linking 16-bit Code with 32-bit code
From: Malathi Ramdas
Date: Thu, 27 Aug 1992 21:50
Date: Thu, 27 Aug 1992 21:50
5 lines
962 bytes
962 bytes
I am trying to call function in a 16-bit code from a 32-bit application. The 16-bit object code is compiled using the MSC 6.0 compiler while the 32-bit application is compiled using CSET/2. I wish to statically link these two objectfiles. Would link386 be suitable to link this 16- and 32-bit code? Are there any link options that I need to specify in order to get things to work. My 16-bit code also makes 16-bit DOS API calls. Also, while compiling the 16-bit code do I need to give any options so that it would be callable by 32-bit code?
Technical Details
Message-ID:
<1992Aug27.215047.28937@natinst.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!natinst.com!ramdasShow Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer,comp.os.os2.apps Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!natinst.com!ramdas From: ramdas@natinst.com (Malathi Ramdas) Subject: Linking 16-bit Code with 32-bit code Message-ID: <1992Aug27.215047.28937@natinst.com> Sender: news@natinst.com Nntp-Posting-Host: eagle.natinst.com Organization: National Instruments, Austin, TX Date: Thu, 27 Aug 1992 21:50:47 GMT Lines: 6