This is the mail archive of the mailing list for the cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: "make all" and "make install" for smake

> -----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?

  Could be......

File:,  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:,  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....

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]