LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-09-2003, 04:52 PM   #1
kincyc
LQ Newbie
 
Registered: Nov 2003
Location: San Francisco
Distribution: RH, Debian, looking for more
Posts: 6

Rep: Reputation: 0
Question Linux Installation/Compilation Question


Can anyone point me in the right direction on how to force a different architecture to be compiled at installation-time ? Here's the deal, I need to force a 586 kernel compilation while installing on a Pentium II (686). I can't any specific information on the net about this other than it can be done.

for more details check out my other posting in the Laptop Forum under "Tablet PC Installation". I'd post the URI, but apparently if you haven't posted 5 times, you can't post a URI.

help! this is killing me...


thanks!!!

-kincy
 
Old 11-09-2003, 06:41 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
The gcc compiler supports the -mcpu and -march options, allowing you to optimize for another CPU within the same family without the need for cross-compiling (meaning you can compile for a 386 but not for an M68K CPU if you're running on a Pentium-2 class system). Other than that it's pretty much application-specific. Try ./configure --help if the app has a configure script. Hope that helps.

Håkan
 
Old 11-09-2003, 06:41 PM   #3
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
This may help.

http://linuxfromscratch.idge.net/hin...piling-x86.txt

I haven't really read it yet, but I remembered glancing at it.
 
Old 11-09-2003, 06:58 PM   #4
kincyc
LQ Newbie
 
Registered: Nov 2003
Location: San Francisco
Distribution: RH, Debian, looking for more
Posts: 6

Original Poster
Rep: Reputation: 0
Good stuff

Digiot, great link. this was just what I was looking for. Now, if I just understood everything (but then what fun would it be...)

cheers,

-k
 
Old 11-09-2003, 07:17 PM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
*g* Some challenging confusion always adds spice to the adventure. Good luck.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Compilation and Installation help for 2.6.8 kallan Linux - Newbie 6 08-25-2004 01:26 PM
ask one question about the compilation china_forrest Programming 12 12-18-2003 10:01 PM
Compilation question. noelcantona Linux - Newbie 2 09-23-2003 11:22 AM
kernel compilation/installation Robert0380 Linux - Software 1 06-15-2003 08:28 AM
Kernel compilation & installation phyrenees Linux - General 3 05-18-2002 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:50 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
Open Source Consulting | Domain Registration