Invoking the C compiler

NeXT Computer, Inc. -> NEXTSTEP / OPENSTEP Software

Title: Invoking the C compiler
Post by: JeHorn on August 11, 2011, 10:13:05 AM
How do I invoke the c compiler from the prompt?

I do it on my linux box the usual way gcc -o myfile myfile.c, how do you do it on ns? Ive tried cc... make seems to want to work, but I dont know what to place in the makefile... any tips? Im not that good at C yet!
Title: Invoking the C compiler
Post by: aragon on August 12, 2011, 07:29:37 AM
You could check out the NS developer documentation at
http://www.cilinder.be/docs/next/NeXTStep/3.3/nd/.

This should give you an idea how to handle the compiler.

Studying makefiles from the examples should help you as well.

Good luck!

Go to top  Forum index