Invoked as: /home/gregor/Source/TheToolChain_devel/InstallData/999_open_ocd/openocd-0.10.0/jimtcl/configure --disable-install-jim "--with-ext=eventloop array clock regexp stdlib tclcompat" --without-ext=default --disable-option-checking --prefix=/home/gregor/Source/TheToolChain_devel/InstallData/999_open_ocd --enable-ioutil --enable-oocd_trace --enable-jlink --enable-stlink --enable-ftdi --cache-file=/dev/null --srcdir=.
Failed: cc -g -O2 -c conftest__.c -o conftest__.o
conftest__.c:1:10: fatal error: crt_externs.h: No such file or directory
 #include <crt_externs.h>
          ^~~~~~~~~~~~~~~
compilation terminated.
child process exited abnormally
============
The failed code was:
#include <crt_externs.h>
int main(void) {

return 0;
}
============
Failed: cc -g -O2 conftest__.c -o conftest__
/tmp/ccI9RHtY.o: In function `main':
/home/gregor/Source/TheToolChain_devel/InstallData/999_open_ocd/openocd-0.10.0/jimtcl/conftest__.c:3: undefined reference to `sys_signame'
collect2: error: ld returned 1 exit status
child process exited abnormally
============
The failed code was:
extern void sys_signame(void);
int main(void) {
sys_signame();
return 0;
}
============
Failed: cc -g -O2 -c conftest__.c -o conftest__.o
conftest__.c: In function 'main':
conftest__.c:3:12: error: size of array '_x' is negative
 static int _x[sizeof(off_t) == 4 ? 1 : -1] = { 1 };
            ^~
child process exited abnormally
============
The failed code was:
#include <sys/types.h>
int main(void) {
static int _x[sizeof(off_t) == 4 ? 1 : -1] = { 1 };
return 0;
}
============
Failed: cc -g -O2 conftest__.c -o conftest__
/tmp/cctGEqeb.o: In function `main':
/home/gregor/Source/TheToolChain_devel/InstallData/999_open_ocd/openocd-0.10.0/jimtcl/conftest__.c:3: undefined reference to `_NSGetEnviron'
collect2: error: ld returned 1 exit status
child process exited abnormally
============
The failed code was:
extern void _NSGetEnviron(void);
int main(void) {
_NSGetEnviron();
return 0;
}
============
Failed: cc -g -O2 -c conftest__.c -o conftest__.o
conftest__.c: In function 'main':
conftest__.c:4:1: error: too few arguments to function 'mkdir'
 mkdir("/dummy");
 ^~~~~
In file included from conftest__.c:2:0:
/usr/include/x86_64-linux-gnu/sys/stat.h:317:12: note: declared here
 extern int mkdir (const char *__path, __mode_t __mode)
            ^~~~~
child process exited abnormally
============
The failed code was:
#include <sys/types.h>
#include <sys/stat.h>
int main(void) {
mkdir("/dummy");
return 0;
}
============
