You are not logged in.
hello,
yesterday i installed 64bit arch. I need to build 32bit and 64bit packages for my repo. I don't know how to build 32bit packages on my machine. I read http://wiki.archlinux.org/index.php/Arc … _Arch64.3F but I do something wrong. I installed gcc-multilib and tried to build mc-new (linux32 yaourt -S mc-new). I got 64bit package. Although 'linux32 uname -a' says I have i686 machine.
What did I do wrong?
Thanks (I don't want i686 chroot)
Offline
Best to create an i686 chroot and use that (using "linux32 chroot <path>")
Offline
well, so there's no way with gcc-multilib? What about chroot size (I don't have big hdd)?
Offline
multilib is just ugly and you will miss much stuff all the time. A 32 bit chroot wont be very big because you can remove the kernel and some other stuff
http://wiki.archlinux.org/index.php/Ins … _in_Arch64
Offline
I installed i686 system to /opt/arch32. Then I did 'sudo linux32 chroot /opt/arch32'. Now I can build 32bit packages running on i686? Am I right?
Is this ok? /opt/arch32/etc/makepkg.conf:
CARCH="i686"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=native -mtune=generic -O2 -pipe"
CXXFLAGS="-march=native -mtune=generic -O2 -pipe"
Offline