Displaying 2 results from an estimated 2 matches for "lhistori".
Did you mean:
lhistory
2019 Jan 28
2
How to generate .bc file using configure && make on Mac OS X?
On Mon, Jan 28, 2019 at 8:16 AM Tim Northover <t.p.northover at gmail.com> wrote:
>
> On Mon, 28 Jan 2019 at 14:10, Peng Yu via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > ld: unknown option: -plugin-opt=save-temps
>
> The macOS linker supports -save-temps directly (but not -plugin-opt).
> I haven't tried, but I'd guess that if you modified the
2019 Jan 28
2
How to generate .bc file using configure && make on Mac OS X?
> On macOS you just omit the '-fuse-ld=gold' and it will work out of the box.
> > ./configure CC=clang RANLIB=llvm-ranlib CFLAGS=-flto
> > LDFLAGS=-Wl\,-plugin-opt=save-temps\ -flto\ -fuse-ld=gold
> > make
No. It doesn't work on Mac OS by just omitting '-fuse-ld=gold'.
$ ../../../extract/bash-5.0/configure CC=clang CXX=clang++
RANLIB=llvm-ranlib