code_junkie

How Does gcc on Solaris Find Its Libraries?

Nov 10th, 2011
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. crel -l -c /var/ld/ld.config -l /usr/lib:/usr/local/lib:/opt/gnu/lib
  2.  
  3. CFLAGS += -I/opt/gnu/include
  4. LDFLAGS += -L/opt/gnu/lib -R/opt/gnu/lib
Add Comment
Please, Sign In to add comment