>I've tried various forms of -Xlinker and -Wl in an attempt to get gcc to >link in an XL library, but I've yet to succeed. >What is the correct form for getting the XL linked? Try: gcc hello.c --for-linker="-WL,XL=/path/to/xl,xl2.pub.group"