Re:Zig cc: A drop-in replacement for GCC/Clang
by jclulow on Wednesday March 25, 2020 @12:21AM
(#22681920)
I'm all for cross compilation, but in reality you still need running copies of those other operating systems in order to be able to test what you've built.
[ Parent
| on HN ]
Re:Zig cc: A drop-in replacement for GCC/Clang
by Reelin on Wednesday March 25, 2020 @02:14AM
(#22682372)
Setting up 3 or 4 VM images for different OSes takes a few minutes. Configuring 3 or 4 different build environments across as many OSes on the other hand ...
Re:Zig cc: A drop-in replacement for GCC/Clang
by VMG on Wednesday March 25, 2020 @07:36AM
(#22683628)
And actually building on these potentially very low-power systems...
Re:Zig cc: A drop-in replacement for GCC/Clang
by solarkraft on Wednesday March 25, 2020 @10:46AM
(#22685005)
Sure, but building typically takes more resources than executing, so it's not really feasible to use a Raspberry Pi to build, but it can be for testing.
Re:Zig cc: A drop-in replacement for GCC/Clang
by vijaybritto on Wednesday March 25, 2020 @01:42AM
(#22682249)
Yes but the dev setup is not really necessary for all of those OSes.
Re:Zig cc: A drop-in replacement for GCC/Clang
by pjmlp on Wednesday March 25, 2020 @02:32AM
(#22682443)
Only if not using OS APIs.
Re:Zig cc: A drop-in replacement for GCC/Clang
by vijaybritto on Wednesday March 25, 2020 @03:10AM
(#22682582)
Yeah sorry I didnt think about. Probably very important as low level code like this mainly for talking with OS APIs