C/C++ Compiler (cl.hlp) (
Table of Contents;
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
PWBC Library Switches
◄Up► ◄Contents► ◄Index► ◄Back►
─────Programmer's WorkBench─────────────────────────────────────────────────
xxxlibs (Text)
The PWBC library switches specify whether specific libraries have
been installed and, if installed, whether they have default or
explicit names.
The setting for this switch appears in the [PWB-PWBC] tagged
section in TOOLS.INI. To set any PWBC switch, choose PWBC from the
Switch Owner box in the Options Editor Settings dialog box.
See: ◄Options Editor Settings►
Switch Libraries
Doslibs DOS (real mode) libraries
Winlibs Windows libraries
Windlllibs Windows DLL libraries
Os2libs OS/2 (protected mode) libraries
Dlllibs OS/2 DLL libraries
Mtlibs OS/2 multithread libraries
The library switches allow PWB to specify the appropriate library
name at link time.
You should set the switch according to the naming convention you
selected when setting up. The SETUP program allows you to select
one of the following formats for library names:
■ Default names of the form xLIBCy.LIB, where <x> specifies the
memory model (S for small, M for medium, C for compact, or L
for large) and <y> specifies the floating-point math package
(E for emulator, 7 for 8087, or A for alternate math). The
default name for a dynamic-link library is xDLLCy.LIB, where
<y> is either E or A. Default Windows DLL library names have
the form xDLLCyW.LIB. Default QuickWin library names have the
form xLIBCyWQ.LIB.
■ Explicit names of the form xLIBCyo.LIB, where <x> specifies
the memory model, <y> specifies the floating-point math
package, and <o> indicates that the library is for a specific
operating-mode: R for real-mode (DOS), W for Windows, P for
protect-mode (OS/2).
Syntax
<switch>: { none │ default │ explicit }
<switch> One of the switch names listed in the table above.
none Specifies that the library is not installed.
PWB asks you to choose between default and explicit
names when you select a project template that requires
the library.
default Specifies that the library has the default name.
NOTE: This setting is not recommended for the QuickWin
libraries (xLIBCyWQ), Windows DLL libraries
(xDLLcyW.LIB), OS/2 DLL library (LLIBCDLL.LIB),
or OS/2 multithread library (LLIBCMT.LIB).
Use explicit names for these libraries.
explicit Specifies that the library has the explicit (fully
qualified) name.
Default
<switch>: explicit
If the switch is not present in TOOLS.INI, the PWBC extension
assumes default names for all libraries.
-♦-