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)
2 comments:
Hello I have problem with networking in Tru64 Alpha. I have changed hostname of machine and ftp, rlogin, stopped working and I can't find what's wrong.
I would really appritiated your help if you can help me.
Thanks a lot.
my email rezacek [at] gmail [dot] com
Is the new host name resolvable? (nslookup hostname, make sure it's in DNS or at leasts in the hosts file).
You should also check /etc/hosts and change the old hostname to the new one.
Post a Comment