This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc and include dirs -> do we need a /etc/includes.conf?
On Friday 28 February 2003 09:43 am, Gerold J. Wucherpfennig wrote:
> > symlinks...
>
> Oh, this is really heavy :-)
> so many symlinks...
>
I didn't say elegant...
I didn't say efficient...
I did say "should work"
>
> My current solution to this issue is to use
> a custom shell script which is in /etc/profile.d :
>
> PATH="$PATH:/usr/local/bin";
> for i in /opt/*/bin /opt/*/sbin
> do
> PATH="$PATH:$i"
> done
>
For small projects, that should never exceed
the line length limits.
Better yet - use the option Daniel posted for gcc.
And separate solutions for everything else.
Mike