I am using the newest version of composer :
[bash]icpc -v icpc version 12.1.3 (gcc version 4.6.0 compatibility)[/bash]
but when I run :
[bash]icpc test.cpp -gcc-name=gcc-4.6 -gxx-name=g++-4.6 -static-intel -static-libgcc -static-libstdc++ icpc: command line warning #10006: ignoring unknown option '-static-libstdc++'[/bash] but running g++ directly there's no problem at all :
[bash]g++ test.cpp -static-libgcc -static-libstdc++[/bash]
So since the version states "(gcc version 4.6.0 compatibility)", I ask how can I pass this option to the linker ?
One suggestion is, you can use -Bstatic -l
Atleast you brought up a good issue for which I've filed a feature request, thanks.