History

macos: ldd does not exit, use otool instead

Christian Jullien committed 6 years ago

Commit 1ea42581 parent 9d75f141 file · +4 −0Browse files

Unified · Split

tests/Makefile+4−0
@@ -79,7 +79,11 @@ endif · 78 unmodified lines
7979
8080 RUN_TCC = $(NATIVE_DEFINES) -run $(TOPSRC)/tcc.c $(TCCFLAGS)
8181 DISAS = objdump -d
82+ifdef CONFIG_OSX
83+DUMPTCC = (set -x; $(TOP)/tcc -vv; otool -L $(TOP)/tcc; exit 1)
84+else
8285 DUMPTCC = (set -x; $(TOP)/tcc -vv; ldd $(TOP)/tcc; exit 1)
86+endif
8387
8488 all test :
8589 @$(MAKE) --no-print-directory -s clean

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t