5 ms·
Adventures of Porting MUSL to PS4
- kev009 7y agoThis is an interesting post but the author seems to have a bit of ignorance/bias to the bsd libc that led them down a particular path. It's not difficult to pull the libc out of src, start with a minimal make copypasta, and keep iterating adding in just enough support until you eventually make it through a compile and link, then work out the few remaining port differences. IMHO this would lead to better long term outcomes for the indented platform but both approaches offer interesting learning opportunity.
- deleted 7y ago[deleted]
- dialamac 7y agoIndeed, I did just that (with NetBSD long) about 20 years ago on a Dreamcast.
- TheAceOfHearts 7y agoWould love to hear more about your experience if you've ever done a write-up.
- CoolGuySteve 7y agoSame when I was porting some OS X stuff to Windows. NetBSD is clean and minimal, making it very easy to cherry pick whatever functionality you need.
- naikrovek 7y agoMan, "copypasta" really has lost all of it's meaning these days. This term is used for all kinds of things that it didn't get used for 25 years ago. "Old Man Yells At Cloud" I guess
- kev009 7y agoThe word didn't even exist in common lexicon 25 years ago or you are an authoritative source and need to update wikipedia and stackexchange...
- latenightcoding 7y agoNot the same, but a reminder that Perl works on ps2: https://github.com/Perl/perl5/blob/blead/caretx.c#L120-L125 https://github.com/Perl/perl5/blob/blead/caretx.c#L120-L125
- pan69 7y agoBut that's because there was an official Linux release for PlayStation 2 by Sony. https://en.wikipedia.org/wiki/Linux_for_PlayStation_2 https://en.wikipedia.org/wiki/Linux_for_PlayStation_2
- trasz 7y agoFWIW, building FreeBSD libc (under FreeBSD, obviously) is as simple as "cd src/lib/libc && make all install".