mirror of
https://github.com/bitwiseworks/gcc-os2.git
synced 2026-02-16 07:04:49 +00:00
Compiling 'master/intl/osdep.c' breaks #29
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 @rdpe on GitHub (May 5, 2020).
It seems gcc automatically enables the
__EMX__macro.The
osdep.csource tries to conditionally includeos2compat.c, which is not there.Could not find
os2compat.cin Paul's old repo either....?
@dmik commented on GitHub (May 6, 2020):
Something is wrong with your configure flags or env or such. No code from
intlis built here in our RPM env with configure flags from the instructions. Maybe you need to installgettext-develso that configure picks it up instead of trying to build its own copy. And check what configure says for you about gettext. Here it says this:And GCC binaries link to
intl8.dllwhich is part of thegettext-libsRPM.@rdpe commented on GitHub (May 8, 2020):
Ahh, indeed installing
gettext-develsolved the issue.(It was not installed)
Now, of course one would expect that anyone trying to build a mammoth like
gcc-os2would first upgrade their system to the latest, but I would also argue that installing a
fresh
ArcaOS v5.0.4, cloning the repo and pasting theyumline should work.For that to work,
gettext-devel,os2-rpmandgawkshould be in theyumline too. (os2-rpmto fix thegetbootdriveissue)Anyway, I'm now more in the direction of #12, which was the spark for trying to build.
Thanks!
@dmik commented on GitHub (May 8, 2020):
Ok, closing this.