Displaying 2 results from an estimated 2 matches for "unwind_prot".
2019 Jan 28
2
How to generate .bc file using configure && make on Mac OS X?
...lob
-L./lib/tilde -L./lib/sh -save-temps -flto -g -flto
-Wno-parentheses -Wno-format-security -o bash shell.o eval.o y.tab.o
general.o make_cmd.o print_cmd.o dispose_cmd.o execute_cmd.o
variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o
hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o
test.o version.o alias.o array.o arrayfunc.o assoc.o braces.o
bracecomp.o bashhist.o bashline.o list.o stringlib.o locale.o
findcmd.o redir.o pcomplete.o pcomplib.o syntax.o xmalloc.o
-lbuiltins -lglob -lsh -lreadline -lhistory -ltermcap -ltilde
lib/intl/libintl.a -liconv -liconv...
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