Compile 32-bit app on 64-bit distro - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html) +--- Forum: How Do I? (https://www.linux-noob.com/forums/forum-60.html) +--- Thread: Compile 32-bit app on 64-bit distro (/thread-769.html) |
Compile 32-bit app on 64-bit distro - jscheponik - 2008-12-17 I have a 32-bit game that I run (circle-mud). I want to upgrade to 64-bit distro but in the past when I have I haven't been able to compile and run the game. What changes would I need to make in order to do this? Here is the first part of my Makefile file: # C compiler to use CC = gcc # Path to cxref utility CXREF = cxref # Any special flags you want to pass to the compiler MYFLAGS = -Wall #flags for profiling (see hacker.doc for more information) PROFILE = ############################################################################## # Do Not Modify Anything Below This Line (unless you know what you're doing) # ############################################################################## BINDIR = ../bin CFLAGS = -g $(MYFLAGS) $(PROFILE) LIBS = -lcrypt -lgd I have a 64-bit AMD and 4GB of RAM (only 3.2 shows with 3-bit distro). Any help with this would be greatly appreciated. Please let me know if you need any other info. |