This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Can I specify where g++looks for libs at runtime?
"Dr. David Kirkby" <david.kirkby@onetel.net> writes:
> Thank you. I'm just surprised I need to do this with the compiler I
> installed, as it's necessary with other compilers on the system. I've
> certainly installed binary versions of gcc (from for example
> Sunfreeware or Blastwave) which have not needed this done before.
Those binary versions presumably arrange to add the appropriate
directories to /etc/ld.so.conf, or take other similar steps.
This is a normal issue when building gcc from scratch yourself and
installing in a non-default location.
Ian