LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,747

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
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


All times are GMT -5. The time now is 11:10 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration