i'm learning C through "the art and science of C" by eric roberts, and to begin must install libraries on my mac.
downloaded libraries here:
http://www.ime.usp.br/~pf/Roberts/C-library/standard/
being a newbie there are several instructions that i don't understand:
instructions:
TO INSTALL THE STANDARD VERSION OF THE LIBRARIES ON A UNIX SYSTEM:
-
Use FTP to retrieve the file standard.shar to the home directory on
your machine. -
Execute the standard.shar script by typing
sh standard.shar
(where do i type this command? terminal doesn't know what to do with it.)
This step creates a top-level directory called cslib that contains
all of the relevant files.
-
Connect to the cslib directory.
-
Rebuild the object files and libraries by typing
make
- Copy the file gccx from the cslib directory into a directory on your
command search path. If you will be the only person using the
libraries, you could put this file in your private command
directory, which is usually ~/bin. If you are installing this
command for use by any user on the system, you will need to put it
in a public directory, such as /usr/local/bin. For public
installation to work, your cslib directory must be readable by other
users.
thanks mucho.