collect2.c hardcoded paths

Edward S. Peschko esp5@pge.com
Tue Mar 9 19:47:00 GMT 2004


hey all,

I noticed the following hardcoded paths in collect2.c:

*pp++ = "/lib";
*pp++ = "/usr/lib";
*pp++ = "/usr/local/lib";

what's going on here? What happens if you install gcc in a non-standard location?
Is this code deprecated?

Ed



More information about the Gcc mailing list