maloff@calgary.UUCP (Sheldon Maloff) (08/25/87)
General comment #1: Sure is good to see that Pixar thing is dying down.
Maybe I can start enjoying this group again!
General comment #2: Why are we discussing how the Mac got its name
in this group?
So much for my two-cents worth. Now I ask for help.
I am compiling a program and this line appears in it:
extern struct WBStartup *WBstart;
What the heck is the module that I'm supposed to link in with this program
that defines struct WBStartup?! I'm compiling under Manx 3.20 and for the life
of me, I can't find anything resembling a startup.o file anywhere. I'd
appreciate somebody mailing me the startup code if they have it, or telling
me what its called, or how it can be written. Right now I just commented out
the extern, but the program won't run from the workbench (but at least
I can use it from the CLI in the mean time).
Thanx in advance.
Sheldon W. Maloff
{seismo!alberta!}calgary!vaxb!maloff
maloff@calgary.UUCPpeter@sugar.UUCP (Peter da Silva) (08/27/87)
So, do this:
main(ac, av)
int ac;
char **av;
{
if(ac==0) { /* workbench */
exit(wbmain(av)); /* probably want to typecast this */
} else { /* cli */
exit(climain(ac, av));
}
}
--
-- Peter da Silva `-_-' ...!seismo!soma!uhnix1!sugar!peter
-- U <--- not a copyrighted cartoon :->