mirror of
https://github.com/bitwiseworks/gcc-os2.git
synced 2026-02-15 14:44:39 +00:00
Include files seem to be missing for GCC 9 #45
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @drobri on GitHub (Nov 12, 2024).
I installed all the GCC 9 RPM Packages,
Just doing the HELLO_WORLD.C to test.
[C:\home\WRK\C_SRC]gcc HELLO_WORLD.C
In file included from HELLO_WORLD.C:1:
C:/usr/lib/gcc/i686-pc-os2-emx/9/include-fixed/stdio.h:64:10: fatal error: sys/c
defs.h: No such file or directory
64 | #include <sys/cdefs.h>
| ^~~~~~~~~~~~~
compilation terminated.
Tried using the BASH shell no luck. Any suggestions? I could not find an include file for sys/cdefs.h the sub directories of C:/usr/lib/gcc/i686-pc-os2-emx/9.
@dryeo commented on GitHub (Nov 12, 2024):
The headers are in the libc-devel package. You will find a few other
packages that are needed for a basic GCC development environment.
libcx-dev has a few extensions to libc. kbuild-make for gnu make.
watcom-wlink-hll for the preferred linker, wl.exe. IIRC, dash and
dash-sh for a shell though bash should also work.
Should also install gcc-c++, gcc-wlink and gcc-wrc if you need the
resource compiler.
Might be forgetting others.
@drobri commented on GitHub (Nov 13, 2024):
Thank you for the reply. Is there a wiki or FAQ that I should have read for this?