This is the mail archive of the
mailing list for the cygwin project.
RE: "make all" and "make install" for smake
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'an on topic post? how appalling!'" <cygwin-talk at cygwin dot com>
- Date: Thu, 6 Jan 2005 13:33:23 -0000
- Subject: RE: "make all" and "make install" for smake
- Reply-to: Talk Amongst Yourselves <cygwin-talk at cygwin dot com>
> -----Original Message-----
> From: cygwin-talk-owner On Behalf Of THUFIR HAWAT
> Sent: 06 January 2005 12:04
> $ make install
> make: `install' is up to date.
> $ smake
> bash: smake: command not found
> "make all" and "make install" suceeded, so why isn't smake a
> command now?
File: bashref.info, Node: Command Search and Execution, Next: Command Executi\
on Environment, Prev: Simple Command Expansion, Up: Executing Commands
3. If the name is neither a shell function nor a builtin, and
contains no slashes, Bash searches each element of `$PATH' for a
directory containing an executable file by that name. Bash uses a
hash table to remember the full pathnames of executable files to
avoid multiple `PATH' searches (see the description of `hash' in
*Note Bourne Shell Builtins::). A full search of the directories
File: bashref.info, Node: Bourne Shell Builtins, Next: Bash Builtins, Up: Sh\
ell Builtin Commands
hash [-'r] [-p FILENAME] [-dt] [NAME]
Remember the full pathnames of commands specified as NAME
arguments, so they need not be searched for on subsequent
invocations. The commands are found by searching through the
directories listed in `$PATH'. The `-p' option inhibits the path
search, and FILENAME is used as the location of NAME. The `-r'
option causes the shell to forget all remembered locations. The
`-d' option causes the shell to forget the remembered location of
each NAME. If the `-t' option is supplied, the full pathname to
which each NAME corresponds is printed. If multiple NAME
arguments are supplied with `-t' the NAME is printed before the
hashed full pathname. The `-l' option causes output to be
displayed in a format that may be reused as input. If no
arguments are given, or if only `-l' is supplied, information
about remembered commands is printed. The return status is zero
unless a NAME is not found or an invalid option is supplied.
Can't think of a witty .sigline today....