Posts

Showing posts from 2016

Procenv 0.46 - now with more platform goodness

I have just released procenv version 0.46 . Although this is a very minor release for the existing platforms (essentially 1 bug fix), this release now introduces support for a new platform... Darwin Yup - OS X now joins the ranks of supported platforms. Although adding support for Darwin was made significantly easier as a result of the recent internal restructure of the procenv code, it did present a challenge: I don't own any Apple hardware. I could have borrowed a Macbook, but instead I decided to see this as a challenge: Could I port procenv to Darwin without actually having a local Apple system?  Well, you've just read the answer, but how did I do this? Stage 1: Docker Whilst surfing around I came across this interesting docker image: https://hub.docker.com/r/andrewd/osxcross/ It provides a Darwin toolchain that I could run under Linux. It didn't take very long to follow my own instructions on porting procenv to a new platform . But although I

Procenv 0.45 released

Yesterday, I released procenv 0.45 . Although not a huge amount has changed on the outside in this release, rather dramatic changes have occurred on the inside, as evinced by the following: $ git diff 0.44..0.45 --stat|grep "src / .*\.[ch] "  src/messages.h                          |    41 +  src/output.c                            |  2001 ++++++  src/output.h                            |   179 +  src/platform-headers.h                  |   243 +  src/platform.h                          |   167 +  src/platform/android/platform.c         |    46 +  src/platform/freebsd/platform-freebsd.h |    43 +  src/platform/freebsd/platform.c         |   479 ++  src/platform/hurd/platform-hurd.h       |    38 +  src/platform/hurd/platform.c            |    91 +  src/platform/linux/platform-linux.h     |   174 +  src/platform/linux/platform.c           |  2176 ++++++  src/platform/minix/platform-minix.h     |    25 +  src/platform/minix/platform.c           |   126 +  src/platform/netb