HP3000-L Archives

March 1995, Week 4

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:
Ross Scroggs <[log in to unmask]>
Reply To:
Ross Scroggs <[log in to unmask]>
Date:
Tue, 21 Mar 1995 18:32:32 PST
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
OK, a little reading in the C.50.00 Communicator leads me to change c89.ccg
to link in LIBCSHR.LIB.SYS, LIBCANSI.LIB.SYS
 
*****
$ ECHO=1 c89 -s -o hellos hello.c
callci(file cctext=./hello.c)->'2'
callci(file ccobj=./hello.o)->'2'
callci(file cclist=$null)->'2'
callci(xeq ccomxl.pub.sys;info="-Ap ";parm=7)->'2'
callci(reset cctext)->'2'
callci(reset ccobj)->'2'
callci(reset cclist)->'2'
CONTENTS OF LINKEDIT INDIRECT FILE:
./hello.o
/SYS/LIB/LIBCANSI
/SYS/LIB/LIBCSHR
END OF INDIRECT FILE
callci(xeq linkedit.pub.sys "link;nodebug;from=^/tmp/c890039002F.aaa;to=./hellos
;posix;share;cap=ph";parm=7)->'2'
 
$ ls -l hellos
-rwxrwx---   1 TELALERT.TELAMON  TELAMON    26624 Mar 21 18:24 hellos
*****
 
Well now I'm cooking! 107776 -> 40704 -> 26624 bytes for Hello World.
(HP-UX version is 12288.) But, question remains, what's the difference
between the three programs?
 
Thanks,
 
--------------------------------------------------------------------
Ross Scroggs                         email: [log in to unmask]
Telamon, Inc.                          CIS: 76011,2234
492 Ninth Street, Suite 310          voice: 510-987-7700
Oakland, CA 94607-4098                 fax: 510-987-7009
--------------------------------------------------------------------

ATOM RSS1 RSS2