Jump to content
jscheponik

Compile 32-bit app on 64-bit distro

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...