A crash course in C programming under Tru64 UNIX :-). You've got a text editor - ed(1), of course, make(1), install(1) and a C compiler - cc(1) - and you're good to go.
Don't like ED? Well, Tru64 also comes with vi and XEmacs by default, so no worries.
All you need to do now is write a Makefile:
% ed Makefile
a
CC=cc
hello: hello.o
$(CC) -o $@ $<
hello.o: hello.c
$(CC) -c -o $@ $<
clean:
rm -f hello hello.o
.
w
q
% make
cc -c -o hello.o hello.c
cc -o hello hello.c
% ls
Makefile hello hello.c
% hello
Hello, Tru64 UNIX!
% make clean
rm -f hello hello.o
% ls
Makefile hello.c
Tuesday, March 25, 2008
C Programming under Tru64 UNIX
Posted by
cmihai
at
2:09 AM
Labels: Software Development, Tru64, UNIX
Subscribe to:
Post Comments (Atom)


0 comments:
Post a Comment