Linux-Noob Forums

Full Version: Compile 32-bit app on 64-bit distro
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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.