CompuServe Messages

#Compiler help

    23-May-90 13:24:35
Sb: #Compiler help
Fm: Steve Jones 72040,1511
To: Don Curtis/SYSOP 76703,4321
Don- Thanks for the information. I have some more specific questions if you'd be so kind. As I mentioned, I'm using the Sozobon compiler ver 1.01. Here's a code example: #include <stdio.h> #include <stddef.h> main() { printf("If I read this I will have succeeded!\n"); } That's about as simple as I could get. It seems to compile and assemble OK. Then I try to link: Blink tri.o to tri lib ami.lib zc.lib and the machine crashes. I even put everything in the directory I was working in, so I know it's accessible. Supposedly, printf is defined in stdio.h and is also in one of the libraries. Hmm… do I need to compile the include files and link them as object files? Again, these are rudimentary questions, the doc files are not very friendly to nonfluent C speakers. If you don't have any experience with this compiler, maybe you know of someone who uses it. As far as I know I have everything I need (but knowledge). I don't have the amiga.lib but, from what I understand, the ami.lib should suffice for the kind of code I'm using. The printf() function is refered to in the doc. Thnx Steve