[1.1.04 r123M] Linux makefile missing 64-bit support

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Agent ME
Posts: 229
Joined: Mon Jan 02, 2006 12:39
Contact:

[1.1.04 r123M] Linux makefile missing 64-bit support

Post by Agent ME »

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:

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
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.
Attachments
Makefile.linux.zip
[1.1.04 r123M Makefile.linux modified to add 64-bit support.
(2.44 KiB) Downloaded 77 times
selivanow
Posts: 7
Joined: Thu Jun 26, 2008 18:23

Post by selivanow »

Thanks for that! I was trying to compile on Ubuntu 8.04/X64 and all I got was an error while linking but no indication what was causing the linking to fail!

I get graphical glitches as well (I don't know how to use software mode...command line switch?). All text is garbled and the status bar is all messed up. Maybe a new bug?

I would be willing to help in anyway I can with my X64 system (ATI HD3850 card). The graphics are amazingly better than stock zdoom

-Chris
User avatar
Agent ME
Posts: 229
Joined: Mon Jan 02, 2006 12:39
Contact:

Post by Agent ME »

In order to get it to tell me what was failing, I just scrolled up to the command and highlighted everything after gcc was mentioned including all of its parameters (a screenful or two) and pasted it into the terminal and ran it outside of make.

I have lots of graphical problems too, so I'm going to update to the latest revision, see if its still there, and post a bug report about it then.

I get the text and status bar garbledness, but also sprites (like monsters) aren't rendered - same with you?
selivanow
Posts: 7
Joined: Thu Jun 26, 2008 18:23

Post by selivanow »

yes, it appears to be the same, I am missing monsters, the statue you should see in the first room, etc.

BTW-

I got rid of my ATI card...drivers would lok my machine if I logged a user out. After a month of trying to correct that crap, I returned it, and I am using my onboard NVidia again
Locked

Return to “Closed Bugs”