"Raju K. V." wrote:
> 
> hi,
> 
> I have some libraries in nonstandard paths. So every time I call gcc and
> use one of these libraries, I have to use the -L option. Is there any way
> by which I can add these paths so that gcc looks at these paths also by
> default.
> 
> Thanks,
> Raju

Write all the directorys into /etc/ld.so.conf . Then run ldconfig.
So if your libs are in /home/user/libs add the line '/home/user/lib'
to /etc/ld.so.conf
-- 
Georg Zetzsche <[EMAIL PROTECTED]>

Reply via email to