[llvm-dev] How to generate .bc file using configure && make on Mac OS X?

Peng Yu via llvm-dev llvm-dev at lists.llvm.org
Fri Jan 25 05:05:33 PST 2019


Hi,

I use the following commands to compile a GNU package to .bc files on Linux.

./configure CC=clang RANLIB=llvm-ranlib CFLAGS=-flto
LDFLAGS=-Wl\,-plugin-opt=save-temps\ -flto\ -fuse-ld=gold
make

But since it uses ld.gold, it won't work on Mac OS X. Is there
something equivalent that works on Mac OS X? Thanks.

-- 
Regards,
Peng


More information about the llvm-dev mailing list