You are not logged in.
Hi,
I installed arch linux as 32bit version on my 64bit machine. I changed the architecture parameter in /etc/pacman.conf to i686 and everything works like a charm.
However, makepkg creates a x86_64 instead of i686. Thus, pacman complains when I try install the package.
My makepkg.conf looks like the following:
CARCH="i686"
CHOST="i686-pc-linux-gnu"
#-- Exclusive: will only run on i686
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CFLAGS="-march=i686 -mtune=generic -O2 -pipe"
CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe"
LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"
How can I create the correct package?
Regards
Sven
Offline
What does
uname -a
say?
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Does this happen with multiple packages or just one?
Offline
What does
uname -a
say?
Linux 2.6.36-ARCH #1 SMP PREEMPT Fri Dec 10 20:01:53 UTC 2010 i686 Intel(R) Core(TM) i7 CPU M 620 @ 2.67GHz GenuineIntel GNU/Linux
Does this happen with multiple packages or just one?
grub-gfx caused the problem.
I also tried it with libpng12. Interestingly, this works!
Offline
PKGBUILD
has
DESTARCH="x86_64"
Could that be the problem?
Mr Green
Offline
Yes it is...
if [ "$DESTARCH" = "x86_64" ]; then
# fool makepkg into building a x86_64 package
export CARCH="x86_64"
fi
Offline
Thanks for the help!
I replaced x86_64 with i686 and int works.
I will drop a note at aur.
Offline