dlfcn.h is installed from clib2 but dl* functions do not exist on AmigaOS 3.x
Lucretia opened this issue · comments
Luke A. Guest commented
This file should not be included if the functionality is not there.
Luke A. Guest commented
Also, probably not a good idea to include /opt/amiga-gcc/m68k-amigaos/sys-include/threads.h
in the install either.
Luke A. Guest commented
Also, the -pthread
option is not supported.
Luke A. Guest commented
Why won't you fix it? Configure systems like MESON, autoconfig, etc. detect false positives.
Luke A. Guest commented
From, c11:
2 Implementations that define the macro STDC_NO_THREADS need not provide this header nor support any of its facilities.
Yet you do.
$ m68k-amigaos-gcc hello.c -o hello
In file included from hello.c:2:
/home/laguest/opt/amiga-gcc/m68k-amigaos/sys-include/threads.h:30:10: fatal error: machine/_threads.h: No such file or directory
30 | #include <machine/_threads.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.