You are not logged in.
Hey :-)
I'm trying to build a 32 bit application under Arch64.
I enabled the multilib repositories, updated and installed the lib32 packages.
When I build I'm using the -m32 flag. Compiling is fine, but when I try to link I'm getting errors such as
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc(there are a lot like this, but with what i presume are different libraries)
I've done some googling but to no avail.
Can somebody help me out? Thanks :-)
Last edited by mallard (2015-06-10 07:04:06)
Offline
Do you have multilib-devel installed?
Offline
Do you have multilib-devel installed?
Thanks for your help!
I installed gcc-multilib and now everything is working.
Offline
You can also look at clean-chroot-manager for building arch32 on arch64.
Offline
gcc-multilib worked here too! ![]()
Tbanks
Offline