Static linking with the PathScale libraries

Using pathcc -v -static, I found out what libraries and lib directories I needed and here is the Makefile (static-c.mk) example.

Of course, replace "sin" with your own specific program. When built, you may use ldd
to see that there are no PathScale dynamic libraries referenced.

categories [ ]