On Mon Oct 21 15:58:59 EDT 2013, [email protected] wrote: > I am trying to build for arm (for my PI) but I cannot > link the linker or the compiler > > hugo% objtype=arm > hugo% cd /sys/src/cmd/5l > hugo% mk install > 5l -o 5.out asm.5 list.5 noop.5 obj.5 optab.5 pass.5 span.5 enam.5 compat.5 > elf.5 > lock: undefined: ainc > (813) BL ,ainc+0(SB) > unlock: undefined: adec > (824) BL ,adec+0(SB) > lock: illegal combination BL 0 0 26 > (813) BL ,ainc+0(SB) > unlock: illegal combination BL 0 0 26 > (824) BL ,adec+0(SB) > lock: illegal combination BL 0 0 26 > (813) BL ,ainc+0(SB) > unlock: illegal combination BL 0 0 26 > (824) BL ,adec+0(SB)
evidently ainc and adec (likely from /sys/src/libc/arm/atom.s) need to be rebuilt into libc.a - erik
