LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2012, 11:01 AM   #1
zcnnbb
LQ Newbie
 
Registered: Feb 2012
Posts: 10

Rep: Reputation: Disabled
【how to compile 32-bit apps using autoconf】


when calling ./configure what param should I use to compile a 32bit app under 64bit os.

In fact, I searched the web before, someone says that I should add arguments like --host=i386-linux or --build=xxxxxx

I have tried both params, but it doesn't work.

Thx!
 
Old 02-14-2012, 08:27 PM   #2
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
Pretty sure you can't. At least not on a pure 64 bit system. Your libraries are all 64 bit. You would need a multilib setup and probably some cross compiling "tricks".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
【Tetris Game -- based on a shell script】(new algorithm) crulat Programming 37 04-17-2012 01:22 PM
[SOLVED] 【how to link to static libs when calling cmake or autoconf】 zcnnbb Linux - Newbie 1 03-08-2012 01:17 PM
[SOLVED] Slackware64 multilib, can't compile 32-bit apps. RajahBrooke Slackware 19 06-05-2010 01:02 PM
*** YOU'RE USING autoconf (GNU Autoconf) 2.60. KDE requires autoconf 2.52, 2.53 or 2. arubin Slackware 6 09-24-2008 04:31 AM
An question about tethereal.【relink】 operand Linux - Newbie 0 12-21-2005 08:10 PM


All times are GMT -5. The time now is 09:09 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration