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-768.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. Compile 32-bit app on 64-bit distro - prime - 2008-12-18 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. Compile 32-bit app on 64-bit distro - YeOK - 2009-01-03 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: 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. |