Can I specify where g++looks for libs at runtime?
Ian Lance Taylor
iant@google.com
Mon Jun 29 21:36:00 GMT 2009
"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
More information about the Gcc-help
mailing list