~/riscv_openocd/riscv-openocd$ ./configure --prefix=`pwd`/../install checking for makeinfo... makeinfo checking for a BSD-compatible install... /opt/local/bin/ginstall -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /opt/local/bin/gmkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking for ranlib... ranlib checking for pkg-config... /opt/local/bin/pkg-config checking pkg-config is at least version 0.23... yes checking build system type... x86_64-apple-darwin21.1.0 checking host system type... x86_64-apple-darwin21.1.0 checking how to print strings... printf checking for a sed that does not truncate output... /opt/local/bin/gsed checking for grep that handles long lines and -e... /opt/local/bin/ggrep checking for egrep... /opt/local/bin/ggrep -E checking for fgrep... /opt/local/bin/ggrep -F checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm -B checking the name lister (/opt/local/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 786432 checking how to convert x86_64-apple-darwin21.1.0 file names to x86_64-apple-darwin21.1.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin21.1.0 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... (cached) ranlib checking command to parse /opt/local/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin21.1.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for an ANSI C-conforming const... yes checking for unsigned long long int... yes checking for long long int... yes checking for library containing ioperm... no checking for library containing dlopen... none required checking for library containing openpty... none required checking for sys/socket.h... yes checking for elf.h... no checking how to run the C preprocessor... gcc -E checking for dirent.h... yes checking for fcntl.h... yes checking for malloc.h... no checking for netdb.h... yes checking for poll.h... yes checking for pthread.h... yes checking for strings.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/param.h... yes checking for sys/select.h... yes checking for sys/stat.h... (cached) yes checking for sys/sysctl.h... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for arpa/inet.h... yes checking for ifaddrs.h... yes checking for netinet/in.h... yes checking for netinet/tcp.h... yes checking for net/if.h... yes checking whether to enable assertions... yes checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking whether byte ordering is bigendian... no checking for strndup... yes checking for strnlen... yes checking for gettimeofday... yes checking for usleep... yes checking for vasprintf... yes checking for realpath... yes checking whether to build a release... no checking whether to build Doxygen as HTML... yes checking whether to build Doxygen as PDF... no checking whether to enable verbose USB I/O messages... no checking whether to enable verbose USB communication messages... no checking whether to enable malloc free space logging... no checking for libusb-1.0... yes configure: libusb-1.0 header bug workaround: LIBUSB1_CFLAGS changed to "-isystem /opt/local/include/libusb-1.0" checking for capstone... no checking for hidapi... yes checking for libftdi1... no checking for libftdi... no checking for libgpiod... no checking for libjaylink >= 0.2... no checking for environ in unistd.h and stdlib.h... no checking for extern environ... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands === configuring in jimtcl (/Users/robertlie/riscv_openocd/riscv-openocd/jimtcl) configure: running /bin/sh ./configure.gnu --disable-option-checking '--prefix=/Users/robertlie/riscv_openocd/riscv-openocd/../install' --cache-file=/dev/null --srcdir=. ./configure.gnu: line 1: -e: command not found Host System...x86_64-apple-darwin21.1.0 Build System...x86_64-apple-darwin21.1.0 C compiler... cc -g -O2 C++ compiler... c++ -g -O2 Build C compiler...cc Checking for stdlib.h...ok Checking for long long...ok Checking for sizeof int...4 Checking for time.h...ok Checking for sys/time.h...ok Checking for sys/socket.h...ok Checking for netinet/in.h...ok Checking for arpa/inet.h...ok Checking for netdb.h...ok Checking for util.h...ok Checking for pty.h...not found Checking for sys/un.h...ok Checking for dlfcn.h...ok Checking for unistd.h...ok Checking for dirent.h...ok Checking for crt_externs.h...ok Checking for execinfo.h...ok Checking for sizeof time_t...8 Checking libs for inet_ntop...none needed Checking libs for socket...none needed Checking for ualarm...ok Checking for lstat...ok Checking for fork...ok Checking for vfork...ok Checking for system...ok Checking for select...ok Checking for execvpe...not found Checking for geteuid...ok Checking for mkstemp...ok Checking for realpath...ok Checking for isatty...ok Checking for regcomp...ok Checking for waitpid...ok Checking for sigaction...ok Checking for sys_signame...ok Checking for sys_siglist...ok Checking for isascii...ok Checking for syslog...ok Checking for opendir...ok Checking for readlink...ok Checking for sleep...ok Checking for usleep...ok Checking for pipe...ok Checking for getaddrinfo...ok Checking for utimes...ok Checking for shutdown...ok Checking for socketpair...ok Checking for isinf...ok Checking for isnan...ok Checking for link...ok Checking for symlink...ok Checking for fsync...ok Checking for dup...ok Checking for umask...ok Checking for localtime...ok Checking for gmtime...ok Checking for strptime...ok Checking for clock_gettime...ok Checking libs for backtrace...none needed Checking libs for openpty...none needed Checking for sysinfo...not found Checking for struct stat.st_mtimespec...ok Checking for struct stat.st_mtim...not found Checking for struct flock...ok Checking for sys/types.h...(cached) ok Checking if -D_FILE_OFFSET_BITS=64 is needed...no Checking for fseeko...ok Checking for ftello...ok Checking for make...ok Checking for asciidoc...no Checking for sed...ok Checking for _NSGetEnviron...ok Checking for sys/types.h...(cached) ok Checking for sys/stat.h...(cached) ok Checking for mkdir with one arg...no Checking for S_IXUSR...ok Checking for S_IRWXG...ok Checking for S_IRWXO...ok Checking for termios.h...ok Enabling line editing Checking for inline support...yes Enabling references Building static library Extension aio...enabled Extension array...enabled Extension clock...enabled Extension eventloop...enabled Extension exec...enabled Extension file...enabled Extension readdir...enabled Extension glob...enabled Extension history...enabled Extension interp...enabled Checking libs for dlopen...none needed Extension load...enabled Extension nshelper...enabled Extension namespace...enabled Extension oo...enabled Extension pack...enabled Extension package...enabled Extension posix...enabled Extension regexp...enabled Extension signal...enabled Extension stdlib...enabled Extension syslog...enabled Extension tclcompat...enabled Extension tree...enabled Using built-in regexp Jim static extensions: aio array clock eventloop exec file glob history interp load namespace nshelper oo pack package posix readdir regexp signal stdlib syslog tclcompat tree Created jim-config.h Created jimautoconf.h Created Makefile from Makefile.in Created tests/Makefile from tests/Makefile.in Created examples.api/Makefile from examples.api/Makefile.in Created build-jim-ext from build-jim-ext.in Created jimtcl.pc from jimtcl.pc.in === configuring in src/jtag/drivers/libjaylink (/Users/robertlie/riscv_openocd/riscv-openocd/src/jtag/drivers/libjaylink) configure: running /bin/sh ./configure.gnu --disable-option-checking '--prefix=/Users/robertlie/riscv_openocd/riscv-openocd/../install' --cache-file=/dev/null --srcdir=. ./configure.gnu: line 1: -e: command not found checking build system type... x86_64-apple-darwin21.1.0 checking host system type... x86_64-apple-darwin21.1.0 checking for a BSD-compatible install... /opt/local/bin/ginstall -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /opt/local/bin/gmkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking for ar... ar checking the archiver (ar) interface... ar checking how to print strings... printf checking for a sed that does not truncate output... /opt/local/bin/gsed checking for grep that handles long lines and -e... /opt/local/bin/ggrep checking for egrep... /opt/local/bin/ggrep -E checking for fgrep... /opt/local/bin/ggrep -F checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm -B checking the name lister (/opt/local/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 786432 checking how to convert x86_64-apple-darwin21.1.0 file names to x86_64-apple-darwin21.1.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin21.1.0 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /opt/local/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin21.1.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for pkg-config... /opt/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libusb-1.0 >= 1.0.16... yes checking whether byte ordering is bigendian... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libjaylink/Makefile config.status: creating libjaylink/version.h config.status: creating libjaylink.pc config.status: creating Doxyfile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands libjaylink configuration summary: - Package version ................ 0.2.0 - Library version ................ 1:0:1 - Installation prefix ............ /Users/robertlie/riscv_openocd/riscv-openocd/../install - Building on .................... x86_64-apple-darwin21.1.0 - Building for ................... x86_64-apple-darwin21.1.0 Enabled transports: - USB ............................ yes - TCP ............................ yes OpenOCD configuration summary -------------------------------------------------- MPSSE mode of FTDI based devices yes (auto) cJTAG OSCAN1 tunneled thru MPSSE yes (auto) ST-Link Programmer yes (auto) TI ICDI JTAG Programmer yes (auto) Keil ULINK JTAG Programmer yes (auto) Altera USB-Blaster II Compatible yes (auto) Bitbang mode of FT232R based devices yes (auto) Versaloon-Link JTAG Programmer yes (auto) TI XDS110 Debug Probe yes (auto) CMSIS-DAP v2 Compliant Debugger yes (auto) OSBDM (JTAG only) Programmer yes (auto) eStick/opendous JTAG Programmer yes (auto) Olimex ARM-JTAG-EW Programmer yes (auto) Raisonance RLink JTAG Programmer yes (auto) USBProg JTAG Programmer yes (auto) Andes JTAG Programmer yes (auto) CMSIS-DAP Compliant Debugger yes (auto) Nu-Link Programmer yes (auto) Cypress KitProg Programmer yes (auto) Altera USB-Blaster Compatible no ASIX Presto Adapter no OpenJTAG Adapter no Linux GPIO bitbang through libgpiod no SEGGER J-Link Programmer yes (auto) Bus Pirate yes (auto) Use Capstone disassembly framework no