LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-21-2013, 03:49 PM   #1
kox444
Member
 
Registered: Aug 2012
Posts: 128

Rep: Reputation: Disabled
Debian Wheezy - how do I compile 32bit app on 64bit OS


I need to build an app. To be exact it is PCSX2 emulator. However I don't know how do I compile in different architecture. The build.sh script says it's only 32 bit and I have to either get chroot or a 32bit os. It also mentions that it is possible to install it on OSes that support multiarch. But how?

Edit: If it's gonna be easier - I have already installed i386 chroot. But I don't know how to use it, neither configure it.
Any help appreciated.

Last edited by kox444; 01-21-2013 at 04:32 PM.
 
Old 01-22-2013, 08:48 AM   #2
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
A lot of build systems obey the CFLAGS environment variable. If this build does, you could set that to include the -m32 option needed for multiarch 32 bit build.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Run 32bit app on 64bit kernel ont as root sluge Linux - Software 2 09-07-2012 07:52 AM
[SOLVED] Which 64bit Debian Wheezy Release is wright for my Intel 64bit P8700 CPU PC? esgol Linux - Newbie 15 07-15-2012 03:50 PM
Which 64bit Debian wheezy Release is wright for my Intel 64bit P8700 CPU? esgol Linux - Newbie 1 07-15-2012 03:11 AM
[SOLVED] Running 32bit app on a 64bit Redhat. x64 ThomasRonshof Linux - Software 1 08-25-2010 07:07 AM
building 32bit app on 64bit system nori Linux - Software 1 07-20-2007 01:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration