Wednesday, November 14, 2012

Setting default rpath with gcc

I built my own gcc in /usr/local, but unfortunately, the gcc produced still generates executables that have rpath for the usual system library paths, i.e. those in /usr and /. I changed the default by using my own specs file adapted from the default one. I added the appropriate -rpath options at architecture-specific places under '*link'.

No comments:

Post a Comment