LinuxQuestions.org
Review your favorite Linux distribution.
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 06-04-2012, 02:30 AM   #1
jimmyting
LQ Newbie
 
Registered: Dec 2011
Posts: 7

Rep: Reputation: Disabled
Smile build 32bit-kernel on 64bit kernel system


How to build 32 bit-kernel on 64bit system?

I can build 32bit user-space api via gcc -m32

But I use the same setting
/usr/bin/ld: skipping compatible /usr/lib/gcc/x86_64-redhat-linux/4.4.6/libgcc.a when searching for -lgcc

The incompatible question will take place.

How to solve this problem?

Any one know how to build 32 bit-kernel on 64bit system?
 
Old 06-04-2012, 07:25 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,736

Rep: Reputation: 7558Reputation: 7558Reputation: 7558Reputation: 7558Reputation: 7558Reputation: 7558Reputation: 7558Reputation: 7558Reputation: 7558Reputation: 7558Reputation: 7558
as you see ld gives a warning about skipping a 64bit lib. It is not an error, just a warning and of course it will not cause any problem.
 
1 members found this post helpful.
Old 06-04-2012, 07:58 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Just specify the ARCH environment variable when configuring the kernel, like
Code:
ARCH=i386 make menuconfig
 
1 members found this post helpful.
  


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
Urgent: Allocating 64bit aligned address memory in a 32bit kernel vissu Linux - Kernel 2 04-27-2012 08:26 AM
what is the difference between 32bit& 64bit kernel in aix operating system hari.g Linux - Newbie 1 01-15-2010 09:03 AM
possible to compile a 32bit kernel on a 64bit os? Shadowmeph Linux - General 5 10-02-2008 06:07 AM
Running 32bit Installation with 64bit kernel? Colombian Linux - Newbie 3 09-26-2006 06:56 AM
How can I build a 64bit kernel 2.4.28 oaitamrane Red Hat 1 12-08-2004 05:22 PM

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

All times are GMT -5. The time now is 07:06 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