HP3000-L Archives

September 2005, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Miller, Keven" <[log in to unmask]>
Reply To:
Miller, Keven
Date:
Thu, 8 Sep 2005 22:13:06 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (51 lines)
check you ccstdrl.lib.sys file.
I think HP sends it out with the librarys to link standalone
program, ie:C programs that do not require XL.PUB.SYS for the
C runtime.

I've tampered mine to use the libraries that allow me to use
the C runtime in XL.PUB.SYS (makes smaller programs).
(I also have changed my ccxllk.pub.sys as well).

If you look at (linkedit listrl) files libcansi.lib.sys
you'll find __ANSI_MODE, and libcshr.lib.sys for __ctype.

May not be the best, I choose to link for using XL.PUB.SYS,
My ccstdrl and ccxllk files:
/l ccstdrl.lib.sys
     1     libcshr.lib.sys
     2     libm.lib.sys
     3     libcrand.lib.sys

and my ccxllk has
    30        if hpcxljcw = 1 then
    31           setvar hpc_rin "^ccstdrl.lib.sys"
    32        else
    33           setvar hpc_rin "libcshr.lib.sys,libcansi.lib.sys,&
    34              libmansi.lib.sys,libcrand.lib.sys,socketrl.net.sys"
    35        endif
    36        deletevar hpcxljcw
    37        continue
    38        linkedit.pub.sys "link from=$oldpass;rl=!hpc_rin;&
    39           to=!prg;share"


I don't recall exactly, but for standalone, you need to link in
LIBC.LIB.SYS, LIBM.LIB.SYS (math lib), LIBCINIT.LIB.SYS.

Also, for use of XL.PUB.SYS you need the ;SHARE link option.

So either you want standalone, but your ccstdrl has the use-XL libraries,
except LIBCANSI and maybe LIBCSHR,

Or you want the XL option, and you need to add ;SHARE to your link
command.

Keven

> LinkEd> link from=prnxml; rl=^ccstdrl.lib.sys;
> xl=xlrap.rap,xlutc.pub.sys,xlstub.pub.sys; to=pweb; cap=ia,ba,ph ;SHARE

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2