🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #559

Re: Help! Need to link 16bit LIB with 32bit Application

#559
From: Don Liechty
Date: Wed, 29 Jul 1992 19:44
22 lines
1569 bytes
In article <anderson.16.712435941@mayo.edu> anderson@mayo.edu (Alfred I. Anderson) writes:

>Apparently the OS/2 2.0 linker can only call 16bit DLLs and cannot 
>incorporate 16bit LIBs!  For our application, we must access this 16bit .LIB.

According to the C Set/2 User's Guide pg 251 (BETA copy), you
can statically link 32- and 16-bit code if the 16-bit code was 
compiled using the /ND and /NT options to rename data and text segments, and 
with the /Zl option.  The 16-bit code cannot contain any references to the 
Clibrary.


>Does anyone have a suggestion how we can link to this 16bit LIB??

>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Alfred Anderson                Internet:    anderson@Mayo.edu
>Mayo Foundation - Rochester MN 55905

>NOTE:  PLEASE INCLUDE YOUR RETURN ADDRESS IN THE BODY OR .SIG FILE
>OF ANY NOTE SENT TO ME --- THE SOFTWARE ON MY END DOES NOT PASS 
>YOUR RETURN ADDRESS FROM THE MESSAGE HEADER TO ME!
>-----------------------------------------------------------------
Technical Details
Message-ID: <dliechty.3.712439069@novell.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!mips!newsun!cpclark2.Test.NPD.Provo.Novell.COM!dliechty
References: <anderson.16.712435941@mayo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!mips!newsun!cpclark2.Test.NPD.Provo.Novell.COM!dliechty
From: dliechty@novell.com (Don Liechty)
Newsgroups: comp.os.os2.programmer
Subject: Re: Help! Need to link 16bit LIB with 32bit Application
Message-ID: <dliechty.3.712439069@novell.com>
Date: 29 Jul 92 19:44:29 GMT
References: <anderson.16.712435941@mayo.edu>
Sender: usenet@novell.com (The Netnews Manager)
Organization: Novell, Inc., Provo, UT, USA
Lines: 22
Nntp-Posting-Host: cpclark2.test.npd.provo.novell.com