[Coco] Question about compiling C in OS-9
    Todd Wallace 
    dragonbytes at cox.net
       
    Mon Apr 12 18:42:43 EDT 2010
    
    
  
Hey all,
I'm trying to figure out how to use this microware C compiler for OS-9.  But I am stumped as to how to resolve this error.  If you aren't in to C on OS-9, just disregard this.  Below is my little test program and the output from the compiler.  If anyone could shed some light on what I'm doing wrong, I'd appreciate it. Thanks :-)
#include "/X1/DEFS/stdio.h"
main(argc,argv)
{
printf"testing";
}
This is the output I get when trying to compile it:
{Term|02}/X1/SOURCES:cc1 test.c
CC1 VERSION RS 01.00.00
COPYRIGHT 1983 MICROWARE
REPRODUCED UNDER LICENSE
TO TANDY
'test.c'
c.prep:
c.pass1:
c.pass2:
c.opt:
c.asm:
c.link:
Unresolved references:
 main             cstart_a         in /dd/lib/cstart.r
linker fatal: unresolved references
- Todd Wallace
    
    
More information about the Coco
mailing list