[1.1.04 r123M] Linux makefile missing 64-bit support
Posted: Sun Jun 22, 2008 5:39
Comparing Gzdoom's Makefile.linux to zdoom's (r1043M) Makefile.linux, gzdoom is missing the following parts causing it not to be compilable to 64-bit:
And the single occurrence of "libfmodex.so" needs to be changed to "libfmodex${X64}.so".
Attached is my makefile with these modifications. (I've also reordered a few ifndef blocks to ifdef blocks just to be more consistent with zdoom's version.)
I've compiled gzdoom with this change, and it works in software mode, but opengl mode has many graphical glitches; I'm not sure if this is just my system or due to 64-bit unfriendly code.
Code: Select all
ifndef X64
ifeq (x86_64,$(shell uname -m))
X64=64
else
X64=
endif
endif
Code: Select all
ifdef X64
NOASM=1
endif
Attached is my makefile with these modifications. (I've also reordered a few ifndef blocks to ifdef blocks just to be more consistent with zdoom's version.)
I've compiled gzdoom with this change, and it works in software mode, but opengl mode has many graphical glitches; I'm not sure if this is just my system or due to 64-bit unfriendly code.