This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: installed, compiled, how to link?


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


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