You are not logged in.

#1 2005-11-07 18:07:01

PsD
Member
Registered: 2005-11-07
Posts: 14

Some noob questions about ./configure flags...

Hello everyone!

this is my first post here in forum... roll

Today I decided to try ABS. I have read wiki page about that, but still have some questions.. Maybe it's not connected with ABS directly, but.. Nevermind... So: I have AMD Athlon64 processor and I want to build some certain packages for my system to perform better (or I hope, that after rebuilding packages they will perform better roll ).
Do I need to add some special flags to ./configure lines? Or simply copy PKGBUILD and "makepkg"? Will then be any difference between MY package and package downloaded by "pacman -S package"? What if there is no ./configure line? roll

Offline

#2 2005-11-07 18:29:41

kth5
Member
Registered: 2004-04-29
Posts: 657
Website

Re: Some noob questions about ./configure flags...

you should at least modify $CHOST and $CARCH in your makepkg.conf along with $CFLAGS and $CXXFLAGS so that they do not include -march=i686 anymore. instead use your platform's full  identifier string. example:

export CARCH="x86_64"
export CHOST="${CARCH}-pc-linux-gnu"

export CFLAGS="-march=${CARCH} -O2 -pipe"
export CXXLAGS="${CFLAGS}"

i do not know wether you should prefix with x86_64 or amd64. maybe a arch64 port maintainer can help us?  wink


I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell

Offline

#3 2005-11-07 19:10:16

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Some noob questions about ./configure flags...

I'm not clear on this, are you using the Arch64 port, or trying to compile packages under 32 bit (normal arch) mode?

Dusty

Offline

#4 2005-11-07 19:33:43

PsD
Member
Registered: 2005-11-07
Posts: 14

Re: Some noob questions about ./configure flags...

Dusty wrote:

[...] or trying to compile packages under 32 bit (normal arch) mode?

Dusty

That's what I'm trying to do smile

Offline

Board footer

Powered by FluxBB