Didier wrote on Wed, 08 February 2012 23:24 |
But managing all the portability issues with the make facilities is a pretty tough shot ! |
Didier wrote on Wed, 08 February 2012 23:24 |
I've been thinking for some while that boost-build is very well adapted to Upp package hierarchy and it works on WIN/LINUX/BSD/MAC/.... everywhere there is a decent C compiler. boost-build is a build tool that has it's own syntax ( quite simple ) and that manages package dependencies (as in Upp) and it supports many compilers on many OS. It is written in C ==> if you have a C compiler/linker and you can build it and then use it to build whatever you wan't ==> you don't depend on presence of make/gmake/imake/xxtools/...whatever. On big gain is that the same "makefile" works on all platforms !! and that most common compilation options are available in generic form (optimisations, 32/64 bits, ...) |
Quote: |
I've never seen boost-build in action |
sam@herkales ~/.upp_makefile $ make PKG=Bombs FLAGS="GCC" /bin/sh: 5: Syntax error: "then" unexpected (expecting "done") make: *** [do-build] Error 2
sam@herkales ~/.upp_makefile $ sudo rm /bin/sh [sudo] password for sam: sam@herkales ~/.upp_makefile $ sudo ln -s /bin/bash /bin/sh
make SHELL=/bin/bash PKG=...