|
There are several different Unix environments in existence, System V Unix, BSD, SunOS, and GNU systems (like Linux). Because various commands behave differently in these different environments, what you learned on one system may not work on another.
To make this system as much like what you are used to, there are separate execution directories containing different versions of commands. By arranging your PATH variable, which tells your shell which directories to look in for commands and in what order, with the specialized of the commands you prefer first, you can make the system commands behave in the manner to which you are accustomed.
By default the environment you are in is the default SunOS 4.1.4 environment. Some time in the future this will change, but presently that's what it is.
If you prefer: Put this directory in your path first:
A GNU environment /usr/local/gnu/bin A BSD environment /usr/ucb A System-V environment /usr/5bin
There are two C compilers on the system 'cc' is the old antiquated ATT compiler. It will not compile modern C code and is useful only for trying to compile ancient code, like the C version of adventure. The other compiler is gcc, (GNU C). For any modern software this is what you will want to use.
In the make file of any modern program put:
CC = gcc
This will cause make to use "gcc" as the compiler instead of "cc".
You may also want to change your shell to one that you are most familiar with.
|