3 ms·
The compiler was the last really huge piece of the system that was GNU dependent. I think you're forgetting about binutils and gdb. It sounds like there might
by cperciva 17y ago
The compiler was the last really huge piece of the system that was GNU dependent.
I think you're forgetting about binutils and gdb. It sounds like there might be a replacement for binutils coming up soon, but I haven't heard anyone seriously talk about writing a new debugger. There's also texinfo (hopefully this can die in 10.0) and groff (hopefully this can be replaced by some new NetBSD code in 10.0).
But we're definitely moving in the right direction.
- X-Istence 17y agoFreeBSD has the libelf project, along with the elftoolchain that is attempting to write replacement versions of binutils tools that are BSD licensed: http://wiki.freebsd.org/LibElf http://wiki.freebsd.org/LibElf More information: http://elftoolchain.sourceforge.net/for-review/libelf-by-example-20100112.pdf http://elftoolchain.sourceforge.net/for-review/libelf-by-exa... http://wiki.freebsd.org/LibElf/ImplementationStatus http://wiki.freebsd.org/LibElf/ImplementationStatus
- cperciva 17y agoThat's what I meant by "there might be a replacement for binutils coming up soon". :-)
- X-Istence 17y agoAnd I just noticed you are Colin Percival ... yay for paying attention, off course you'd know about the ELF projects for FreeBSD :P. BTW, your slideshow on the encryption stuff, very cool! Enjoyed it tremendously.
- jrockway 17y agoBut we're definitely moving in the right direction. Replacing functional, well-tested, and Free tools with completely new ones? Yeah, there's a reason why I don't use *BSD.
- cperciva 17y agoFor most of these it's a case of replacing old, poorly designed, unmaintained (and in light of the poor design, mostly unmaintainable) code with better designed and well-maintained versions. This was definitely the case for replacing GNU tar/cpio/pax with libarchive-based versions.
- jrockway 17y agoWhy write new versions rather than fix the GNU versions? More eyeballs, and all that...
- cperciva 17y agoTo borrow a phrase from the rollout of DNSSEC: It's really hard to rebuild a plane while in flight. Sometimes it's easier to build a second plane, fly it up parallel to the old plane, then jump across. For what it's worth, I've talked to some people at linux distributions who are excited about ditching gcc too. (Not going to say who they are, because I don't want to get them in trouble.)
- jrockway 17y agoBut it's kind of like building the new airplane out of rusty metal, to replace the rusting airplane you currently have. While you're taking the effort to rebuild something, you might as well use new metal. What I mean here is, why replace a big collection of flaky C apps with another big collection of flaky C apps? Sure, maybe your new version uses strlcpy instead of strncpy, but that doesn't really fix any fundamental implementation problems.
- cperciva 17y agoIf you think libarchive is flaky, you have incredibly high standards.
- cubicle67 17y agoIt's really hard to rebuild a plane while in flight Obviously these people didn't know that http://www.youtube.com/watch?v=L2zqTYgcpfg http://www.youtube.com/watch?v=L2zqTYgcpfg [Disclaimer - I used to work for them]