in our build environment we want to avoid the use of env variables as much as possible. We cannot rely on the local system ld and we therefore use the -B command line option of g++ to tell it the location of */binutils/bin.
Is there a similar option for pgc++? I have searched the doc, but haven’t found anything, but maybe there is an undocumented feature? Or is adding it to the PATH at the right position the only way to handle this?