fl.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.
OS/2 Library Options (/Lp, /Lr, /Lc)
                                             Up Contents Index Back
─────OS/2 Library Options (/Lp, /Lr, /Lc)───────────────────────────────────
 
     The /L options determine whether an OS/2 application runs in
     protected mode or real mode.
 
     The following options are used to specify OS/2 libraries:
 
     Option     Effect
 
     /Lp        Specifies protected-mode libraries
 
     /Lr        Specifies real-mode libraries
 
     /Lc        Same as /Lr, but used by IBM C compiler
                (provided for compatibility)
 
     The example below compiles and links the source file QSORT.FOR to
     create a real-mode program that can run under both DOS and the
     OS/2 compatibility box:
 
          FL /Lr QSORT.FOR
 
     The following example creates a protected-mode executable file that
     runs only under OS/2 protected mode:
 
          FL /Lp QSORT.FOR
 
     If you are set up for both DOS and OS/2, you must specify the
     appropriate /L option to link with the correct library.
                                    -♦-