[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Changing default build arch
- From: Andre Costa <brblueser uol com br>
- To: RPM ML <rpm-list redhat com>
- Subject: Changing default build arch
- Date: Sun, 22 Sep 2002 14:14:36 -0200
Hi all,
I have an Athlon-XP box, and I would like to generate code for the
athlon architecture by default. I tried putting this on my /etc/rpmrc
file:
arch_canon: Linux: athlon 1
buildarchtranslate: Linux: athlon
optflags: athlon -O2 -march=athlon-xp
but this doesen't keep me from having to type '--target athlon' all the
time to avoid creating i386 RPMS by default (I know, I could create an
alias to rpmbuild that would force the desired target, but I do believe
I should be able to properly configure RPM).
Here are the first lines 'rpm --showrc' spits:
ARCHITECTURE AND OS:
build arch : i386
compatible build archs: athlon i686 i586 i486 i386 noarch
build os : Linux
compatible build os's : Linux
install arch : athlon
install os : Linux
compatible archs : athlon i686 i586 i486 i386 noarch
compatible os's : Linux
RPMRC VALUES:
macrofiles :
/usr/lib/rpm/macros:/usr/lib/rpm/athlon-linux/macros:/et
c/rpm/macros.specspo:/etc/rpm/macros.prelink:/etc/rpm/macros.solve:/etc
/rpm/macr
os.up2date:/etc/rpm/macros:/etc/rpm/athlon-linux/macros:~/.rpmmacros
optflags : -O2 -march=athlon-xp
[snip]
I feel I might be close to the definitive solution, but I am still
missing something... I am running RH 7.1 (heavily customized) and RPM
4.1
TIA
Andre
--
Andre Oliveira da Costa
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]