I'm confused about the -Wl style linker flags. Consider the following:
Code:
-Vaxlib -lpthread -Wl,-Bstatic,-lunwind -Wl,-Bdynamic -ldl -Wl,-Bstatic,-lcxa -Wl,-Bdynamic -lstdc++ -lm
The linker is efc (I think - it's at least the program at the beginning of the command).

Which ones are static and which ones are dynamic? Does the -Wl come after or before the library? Also, from what I understand, the -Wl options are comma-separated, so why is there a comma before -lunwind and -lcxa?

Not as important, but the -Vaxlib confuses me as well. The ifort manpage says that -V displays the version number, so why is axlib after it?

Sorry for the newb questions, and thank you.