sunsetbrew | 9 Feb 04:58 2010

Two Build Issues


Having built this system on OSX, x86 Linux and ARM Linux (cross compiled), there are a couple minor issues.

First, has gcc hard coded for creating Makefile.depends. When cross compiling, this will never work. It should be set to $(CC) so that any complier can be used.

Second, cs/Makefile has a test target. If the tests do not pass, it will not install properly. When cross compiling, it is not possible to run the tests at build time. Further, not all the tests even pass natively under OSX.

I really like the philosophy of testing at build time and use it myself, but there needs to an alternative for the valid cases where it will not work. Currently, the only out is to manually alter the generated Makefile.