Myrddin on Plan 9
[Thread Prev] | [Thread Next]
[Date Prev] | [Date Next]
- Subject: Myrddin on Plan 9
- From: Ori Bernstein <ori@xxxxxxxxxxxxxx>
- Date: Sat, 3 Jan 2015 22:08:30 -0800
- To: myrddin-dev@xxxxxxxxxxxxxx
Myrddin has been ported to Plan 9 (or, more accurately, 9front). The compiler and libstd should build out of the box using the provided mkfiles. The libs used for mbld currently need either mbld or gnu make in order to build, or you can run myrbuild by hand. I've provided a script that does the latter. Almost all Plan 9 system calls are directly supported in libsys. As with Linux/Unix, only amd64 targets are supported at the moment. To bootstrap the code on Plan 9, the following script is provided: http://eigenstate.org/myrddin/getmyr.rc You can grab the script and run it as follows: ; hget http://eigenstate.org/myrddin/getmyr.rc > getmyr.rc ; chmod +x getmyr.rc ; getmyr.rc ...a lot of cloning and building happens... ; sam helloworld.myr For ease of hacking on Plan 9, I've added mercurial mirrors of the compiler and some libraries to bitbucket: http://bitbucket.com/oridb/mc http://bitbucket.com/oridb/libbio http://bitbucket.com/oridb/libregex http://bitbucket.com/oridb/libcryptohash http://bitbucket.com/oridb/libdate http://bitbucket.com/oridb/mbld There are a number of TODOs, of course: - libdate needs to learn how to parse Plan 9 timezone files. - libstd needs to get a smarter allocator for large allocations. - more libraries: lib9p, libdraw, etc... all need to be written. - a bit more thought needs to be given nicer, portable APIs. -- Ori Bernstein <ori@xxxxxxxxxxxxxx>
- Next by Date: Exporting functions
- Next by thread: Exporting functions
- Index(es):