Displaying 2 results from an estimated 2 matches for "unrecogon".
2015 Jun 22
2
[LLVMdev] Enabling the gold linker on freebsd
...ple
programs herehttp://llvm.org/docs/GoldPlugin.html (a.c and b.c under the
heading 'Examples of Link Time Optimization') i entered the four commands
as follows:
clang -flto a.c -c -o a.o
ar q a.a a.o
clang b.c -c -o b.o
clang -flto a.a b.o -o main
I got the following error:
usr/bin/ld: unrecogonized option '-plugin'
usr/bin/ld: use the --help option for usage information
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Is there the problem with the linker that ld.gold is not being called.
Should I replace the ld with ld.gold? Does the linker looks in...
2015 Jun 23
3
[LLVMdev] Enabling the gold linker on freebsd
...Link Time Optimization') i entered the four
> commands as
> > follows:
> >
> > clang -flto a.c -c -o a.o
> > ar q a.a a.o
> > clang b.c -c -o b.o
> > clang -flto a.a b.o -o main
> >
> > I got the following error:
> >
> > usr/bin/ld: unrecogonized option '-plugin'
> > usr/bin/ld: use the --help option for usage information
> > clang: error: linker command failed with exit code 1 (use -v to see
> > invocation)
> >
> > Is there the problem with the linker that ld.gold is not being called.
> > Sho...