Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compile 32-bit app on 64-bit distro
#1

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.

Reply
#2

Honestly, I'm not sure if you can compile and run a 32bit application on a 64bit OS. Maybe you can get it to run in a 32bit VM.

 

As for the RAM, yeah, that's a problem. 32bit OSs can only see so much ram. I think there is a way to patch this - at least with Windows XP, though I may be wrong.

Reply
#3

Quote: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.
 

You can compile 32 Bit applications on 64bit Linux, you just have to install the 32bit Libs. You may run into issues with some libs, but its pretty rare.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)