(no title)
mw6621 | 8 years ago
https://github.com/lordmilko/i686-elf-tools
There's also a bit of information on OSDEV if you are wondering why you need a cross compiler:
mw6621 | 8 years ago
https://github.com/lordmilko/i686-elf-tools
There's also a bit of information on OSDEV if you are wondering why you need a cross compiler:
carussell|8 years ago
I remember a few years back when I was trying to play with MINIX. Tanenbaum got several million EUR and hired some grad students to work on the thing. They promptly replaced much of the system with NetBSD. ("Perhaps too much", you can hear Tanenbaum say in one of his talks.) As a result of this the system compiler ACK was switched out for LLVM/clang. I complained on the mailing list about this because a full system build from source is something that used to be doable in <10 minutes—something Tanenbaum used to boast about—and it was now taking 3 hours if you decided to blow away your source/build directory and do a from-scratch build. The worst part is that the MINIX core, i.e., all the interesting parts, still only accounted for ~10 minutes of that build time, and virtually all the rest was spent compiling and then recompiling LLVM. The response I got from one of the aforementioned grad students was that this is "just how cross-compilers work". No, pal; that's how the compiler that you chose works.
Later, the Go folks fixed their compiler to be a cross-compiler by default. See https://dave.cheney.net/2015/03/03/cross-compilation-just-go...
IMO, it's unforgivable that any given mainstream toolset wouldn't make this a baseline project goal.
mveety|8 years ago
exDM69|8 years ago
Was the LLVM/Clang build done for building a cross compiler to build Minix or was it to build a compiler that runs on Minix? The latter would be unavoidable, but for the former just having LLVM pre-installed on the build machine should do.
bogomipz|8 years ago
This piqued my interest, what was this project exactly? Can you elaborate on this anecdote?
unknown|8 years ago
[deleted]