ews00461@uxa.cso.uiuc.edu (04/12/90)
I have an odd request. I am trying to learn more about the MPW
linker object file format, and I have no good examples. Would someone
who has MPW C and MPW 3.1 do me a favor ? Please compile the
following C program, binhex the .o file and mail it to me ?
/* A simple C program */
int a = 4;
char *x = "testinitstring";
short q = 18;
int simpleone(d)
int d;
{
return d + 5;
}
int noargs()
{
return simpleone(q);
}
main()
{
int loc;
loc = (int) x;
a += noargs();
}
/* End simple C */
Thanks! BTW, any other examples would fine too, ie if you have
some small to medium size C code and corresponding .o file,
that you would be appreciated as well. Nothing too big, though :-)
Eric W. Sink
e-sink@uiuc.edu