Email or username:

Password:

Forgot your password?
Top-level
Devine Lu Linvega

@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
`. The only reliable C experience on ARM that I've had the chance of using was compiling with pcc on Plan9. On linux, it has never once just worked.

3 comments
cancel

@neauoire @kelp gcc sucks ass for ARM. it behaves badly and also sometimes emits broken machine code. use clang instead. it's wayyy better on ARM.

Devine Lu Linvega

@cancel @kelp yeah, it's funny because every time I end up in arguments with people arguing that it's the same thing, that C is super portable, but it's only because they never tried it themselves.

Cian O'Connor

@neauoire @cancel @kelp

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?

Go Up