Displaying 2 results from an estimated 2 matches for "4739688".
2019 Jan 28
2
How to generate .bc file using configure && make on Mac OS X?
...g associated files.
./configure CC=clang RANLIB=llvm-ranlib CFLAGS=-flto
LDFLAGS=-Wl\,-plugin-opt=save-temps\ -flto\ -fuse-ld=gold
make
$ ls -gltr bash.*.bc
-rw-r--r-- 1 staff 4769876 Jan 25 10:16 bash.0.0.preopt.bc
-rw-r--r-- 1 staff 4769876 Jan 25 10:16 bash.0.2.internalize.bc
-rw-r--r-- 1 staff 4739688 Jan 25 10:16 bash.0.4.opt.bc
-rw-r--r-- 1 staff 4739688 Jan 25 10:16 bash.0.5.precodegen.bc
--
Regards,
Peng
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