This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: installed, compiled, how to link?
- From: "John (Eljay) Love-Jensen" <eljay at adobe dot com>
- To: "hill0093" <hill0093 at umn dot edu>, <gcc-help at gcc dot gnu dot org>
- Date: Sun, 1 Jul 2007 12:00:22 -0700
- Subject: RE: installed, compiled, how to link?
- References: <11384524.post@talk.nabble.com>
> ... unix looked in local directory first 30 years ago, so I suppose there is good reason to have changed it.
As far as I am aware, Unix only looked in the current working directory 30 years ago if you told it to.
>How do I deal with paths?
Using the bash shell, put this in your ~/.bashrc file:
PATH=.:$PATH
That prefixes . (the current working directory) to the paths to search when looking for executables.
HTH,
--Eljay