You are not logged in.

#1 2004-06-08 18:43:54

rjs
Member
Registered: 2004-04-20
Posts: 23

Best i586 Compilation Settings

Hey I just got an AMD K6II-300MHz Laptop and was wondering what would be the best settings to build custom packages for it on my AMD Duron 1GHz.

I have the following setup in makepkg.conf:

export CFLAGS="-O2 -march=i586 -mcpu=i686"
export CXXFLAGS="-O2 -march=i586 -mcpu=i686"

Is this all I need or are there more that should be set.

If it works properly, I will start helping in building the i586 port of Arch Linux

Offline

#2 2004-06-08 20:18:09

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Best i586 Compilation Settings

that should be ok but having tried a similar thing before you should have a log generated of all of your compiles because no matter what your makepkg settings are there are configure scripts that will "detect" exactly what your processor is and configure the code accordingly. in many cases you can add options to your PKGBUILDs to "repair " this but packages such as perl need a little more frustrating fixes.

i realize that it is ideal to compile on a higher archtecture for a lower one but you may find that it just isn't worth the effort (especially if you will have the lesser box set up with all that you have on the higher box)


AKA uknowme

I am not your friend

Offline

#3 2004-06-08 20:26:38

rjs
Member
Registered: 2004-04-20
Posts: 23

Re: Best i586 Compilation Settings

The reason for compiling on the 1GHz is that I only have a 3.2 GIG HD in the LapTop and am not sure if I will have enough disc space on there to build the packages that I want to have on the system. 

Basically I would like to have the newest KDE as well as KOffice (For Work), however I am not sure if I should even attempt this or not on the laptop.

Speaking of extra headaches, do you have any idea of how to force the compile to do the i586 optimizations.

PS - I was wondering since there seem to be new i586 packages, is there a place where I can get the PKGBUILD scripts as a reference.

Offline

#4 2004-06-08 21:06:54

dpb
Member
From: Cyperspace?
Registered: 2004-04-11
Posts: 231

Re: Best i586 Compilation Settings

Uhmm. I thought a 300mhz is an i686.  :shock:
Where does the line between i586 and i686 go??
(Pentium pro is an i686...)

Offline

#5 2004-06-08 21:36:47

nifan
Member
Registered: 2003-04-10
Posts: 102

Re: Best i586 Compilation Settings

not this again... dpb please search the forum for that issue wink


______
"Ignorance, the root and the stem of every evil." - Plato

Offline

Board footer

Powered by FluxBB