LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Linux Installation/Compilation Question (https://www.linuxquestions.org/questions/linux-general-1/linux-installation-compilation-question-114191/)

kincyc 11-09-2003 04:52 PM

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

hw-tph 11-09-2003 06:41 PM

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

slakmagik 11-09-2003 06:41 PM

This may help.

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

I haven't really read it yet, but I remembered glancing at it.

kincyc 11-09-2003 06:58 PM

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

slakmagik 11-09-2003 07:17 PM

*g* Some challenging confusion always adds spice to the adventure. Good luck. :)


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