Hi,
The rules for invoking the linker for the MSBuild projects are stored in the %VISUALGDB_DIR%\MSBuild\Targets\link.targets file:
<PropertyGroup Condition="'$(GCCBinaryNameForLinking)' == ''">
<GCCBinaryNameForLinking>$(GCCBinaryName)</GCCBinaryNameForLinking>
</PropertyGroup>
<PropertyGroup Condition="'$(GXXBinaryNameForLinking)' == ''">
<GXXBinaryNameForLinking>$(GXXBinaryName)</GXXBinaryNameForLinking>
</PropertyGroup>
<GCCLink
Sources="@(Link)"
CC="$(GCCBinaryNameForLinking)"
CXX="$(GXXBinaryNameForLinking)"
...
>
Hence, you can redefine the GCCBinaryNameForLinking and GXXBinaryNameForLinking to arbitrary values in a PropertyGroup inside your project, and it will replace the default values.