Hitting all sorts of weird compilation errors on the pinebook, c dev on arm is a pain in the ass. I'll port the 100r wiki to uxntal over the summer.
Hitting all sorts of weird compilation errors on the pinebook, c dev on arm is a pain in the ass. I'll port the 100r wiki to uxntal over the summer. 9 comments
@kelp It's many little things, the toolchain doesn't quite behave the same. gcc-wise, ASAN as an example, behaves totally differently. We use tcc for our wiki, and so you end up running after your own tail with all the weird errors in the flavor of `Invalid relocation entry [14] '.rela.debug_info' @ 000004f5 My experience has been that you have to do a lot of voodoo to get C programs running on a new platform. Rust is a lot better at this. I wonder if Zig has solved this? @neauoire I’m always curious about what your lightweight setup is on the pinebook—have you ever written about what OS choices you make outside of uxn? I adore how minimal all your screenshots look. @jbmorley I tend to stick to i3 over arch or manjaro, it does everything I need. I wouldn't recommend it tho, it's kind of finicky, stuff breaks all the time without explanation. @neauoire Surprisngly, that’s not far off how I have things set up and, yes, finicky is a good description. 😅 |
@neauoire I'm curious, how is it a pain specifically for ARM?
afaik it's just the same tools but compiled for a different arch, no?