[comp.sys.mac.hypercard] Help with XCMD

jk4i+@andrew.cmu.edu (John McCall Kingsley, III) (07/13/90)

I am trying to write an XCMD that reads a file, and based on this
file writes a PICT file of the network described in this particular
file. My problem is that it is greater than the 32K limit. I am
using THINK C 3.0 and have included the stdio library and a few
others (math and strings). When linking the code resource is too
big. Does THINK C link all of the functions in the library or
only those that are used by the particular program, i.e. stdio
is about 20K and I am only using a few of the functions. Is there
any way to change this or must I use toolbox routines instead of the
stdio library? I am using stdio because the original program
was written on a unix platform and would like to avoid rewritting
all of the code.

Secondly, can anyone point me to some sample source code for
XCMDS, etc.

Thanks for your help.

Jack Kingsley
jk4i@andrew.cmu.edu