search for: linkerflag

Displaying 6 results from an estimated 6 matches for "linkerflag".

2016 Oct 28
9
LLD to be the default linker in Clang
..."symlink lld -> ld". I understand that's how every Linux system "chooses" the linker, but that makes deployment and validation quite cumbersome on GNU systems. I'd like to suggest a change in behaviour: // Some flag like --linker=<full path / bin on path> if (LinkerFlag) { linker = Flag (linker); // triple != host } else if (CROSS_COMPILE) { if (LLDSupports(triple)) linker = Find (LLD); if (!linker) linker = Find (triple-ld); if (!linker) ERROR; // *NOT* the system linker! // triple = host } else { linker = Find (LLD); if (!linker) li...
2016 Oct 28
0
[cfe-dev] LLD to be the default linker in Clang
...ooses" the > linker, but that makes deployment and validation quite cumbersome on > GNU systems. There's also -fuse-ld= That's how I usually do it. > I'd like to suggest a change in behaviour: > > // Some flag like --linker=<full path / bin on path> > if (LinkerFlag) { > linker = Flag (linker); > > // triple != host > } else if (CROSS_COMPILE) { > if (LLDSupports(triple)) > linker = Find (LLD); > if (!linker) > linker = Find (triple-ld); > if (!linker) > ERROR; // *NOT* the system linker! > > // triple =...
2016 Oct 30
0
[cfe-dev] LLD to be the default linker in Clang
.... I understand that's how every Linux system "chooses" the > linker, but that makes deployment and validation quite cumbersome on > GNU systems. > > I'd like to suggest a change in behaviour: > > // Some flag like --linker=<full path / bin on path> > if (LinkerFlag) { > linker = Flag (linker); > > // triple != host > } else if (CROSS_COMPILE) { > if (LLDSupports(triple)) > linker = Find (LLD); > if (!linker) > linker = Find (triple-ld); > if (!linker) > ERROR; // *NOT* the system linker! > > // triple =...
2016 Oct 31
2
[cfe-dev] LLD to be the default linker in Clang
...w every Linux system "chooses" the >> linker, but that makes deployment and validation quite cumbersome on >> GNU systems. >> >> I'd like to suggest a change in behaviour: >> >> // Some flag like --linker=<full path / bin on path> >> if (LinkerFlag) { >> linker = Flag (linker); >> >> // triple != host >> } else if (CROSS_COMPILE) { >> if (LLDSupports(triple)) >> linker = Find (LLD); >> if (!linker) >> linker = Find (triple-ld); >> if (!linker) >> ERROR; // *NOT* t...
2016 Oct 28
0
LLD to be the default linker in Clang
.... I understand that's how every Linux system "chooses" the > linker, but that makes deployment and validation quite cumbersome on > GNU systems. > > I'd like to suggest a change in behaviour: > > // Some flag like --linker=<full path / bin on path> > if (LinkerFlag) { > linker = Flag (linker); > > // triple != host > } else if (CROSS_COMPILE) { > if (LLDSupports(triple)) > linker = Find (LLD); > if (!linker) > linker = Find (triple-ld); > if (!linker) > ERROR; // *NOT* the system linker! > > // triple =...
2016 Oct 30
1
[cfe-dev] LLD to be the default linker in Clang
...w every Linux system "chooses" the >> linker, but that makes deployment and validation quite cumbersome on >> GNU systems. >> >> I'd like to suggest a change in behaviour: >> >> // Some flag like --linker=<full path / bin on path> >> if (LinkerFlag) { >> linker = Flag (linker); >> >> // triple != host >> } else if (CROSS_COMPILE) { >> if (LLDSupports(triple)) >> linker = Find (LLD); >> if (!linker) >> linker = Find (triple-ld); >> if (!linker) >> ERROR; // *NOT* t...