bebbo / amiga-gcc

The GNU C-Compiler with Binutils and other useful tools for cross development for Amiga

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dlfcn.h is installed from clib2 but dl* functions do not exist on AmigaOS 3.x

Lucretia opened this issue · comments

This file should not be included if the functionality is not there.

Also, probably not a good idea to include /opt/amiga-gcc/m68k-amigaos/sys-include/threads.h in the install either.

Also, the -pthread option is not supported.

Why won't you fix it? Configure systems like MESON, autoconfig, etc. detect false positives.

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.