TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Murray Lesser
from: David Noon
date: 1995-11-14 00:00:00
subject: PL/I compile options

Quoting from Compuserve message:

>    But, you left out some very useful information, that I have worked
> out more-or-less by trial and error.  What "compile options" did you
> use?  I worked out a few that let me compile your program, but while
> mine would link, it didn't produce the same EXE file as yours (probably
> different link386 options).

Hi Murray,

Sorry to take so long to reply to your message, but my computer [and
other posessions] spent a long time arriving here in England. I am
replying here on FidoNet because other users of PL/I for OS/2 might be
interested.

The following are the lines from my CONFIG.SYS that install the PL/I
compiler options that I use as my defaults.

___----------------------------------------------------------------------

 REM Set PL/I default compilation options
 SET IBM.OPTIONS=LANGLVL(SAA2 OS2) LIMITS(EXTNAME(31) FIXEDDEC(31)) SYSTEM(OS2 S486)
 S X A(S) NOT('+') MAR(2 80) F(I) OP INCLUDE(EXT('CV2' 'CPY' 'INC' 'MAC')) EXIT
 SET IBM.PPMACRO=FIXED(BINARY) SOURCE
 SET IBM.SOURCE=.;D:\PLIPROGS
 SET
IBM.SYSLIB=.;D:\PLIPROGS\INCLUDE;G:\PLITK\NEWCPY;G:\PLITK\INCLUDE;G:\IBMPLI\INCLUDE
 SET IBM.VPLI=G:\PLITK
 SET CEE.OPTIONS=HEAP(1M,64K),THREADSTACK(256K)
 REM End of PL/I default compilation options

___----------------------------------------------------------------------

The NOT() option specifies the EBCDIC 'not' sign, which might not
survive echo mail since it is high ASCII. I use Ctl+6 in EPM to type it
into a program.

You might find that the IBM.SYSLIB specification cures the problem
with include files, since it uses the files supplied with the PL/I
Toolkit, rather than the ones supplied with the compiler. Also ensure
that you have CSD #4, or later, applied.

Regards

Dave


 * KWQ/2 1.2i * A nudist wedding makes the best man easy to identify.
--- Maximus/2 2.02
* Origin: OS/2 Shareware BBS, Fairfax, VA: 703-385-4325 (1:109/347)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 517 628 713/888 800/1 7877/2809
@PATH: 109/347 716 3615/50 396/1 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.