Page 4 of 4

Re: Compiling duration

Posted: Sat Feb 16, 2013 1:24 pm
by Tectu
haha, well played sir, well played... :D


~ Tectu

Re: Compiling duration

Posted: Mon Feb 18, 2013 11:07 am
by goeck
Just tried out tup. Looks nasty...
Guys, have a look the the page http://gittup.org/tup/make_vs_tup.html
The guy is funny and knows about the drinking thing..;-)

Freddie, did you ever apply tup on a ChibiOS build? I'd like to try that, but don't wanna write the bunches of tupfiles then...Sadly, it doesn't have a makefile compability mode.

Cheers

Re: Compiling duration

Posted: Thu Feb 21, 2013 2:19 pm
by mabl
We could also move to a cmake based build system. I think there was also some initial work done in this direction.

Re: Compiling duration

Posted: Thu Feb 21, 2013 3:49 pm
by Tectu
What are the advantages of cmake over make in such a relatively small project?
Make is a standard tool on all unix distributions (it's in every base-devel package). About windows I don't know.
There are also alternatives such as SCons.


~ Tectu

Re: Compiling duration

Posted: Thu Feb 21, 2013 10:08 pm
by gmb42
IMHO cmake is good for cross platform software and when you have lots of external dependencies. I'm not sure either really applies to our work with ChibiOs.

Generally I think we're OK with make for command line folks and maybe eclipse projects for those that want an IDE.

Re: Compiling duration

Posted: Thu Feb 21, 2013 10:26 pm
by Freddie Chopin
goeck wrote:Just tried out tup. Looks nasty...
Guys, have a look the the page http://gittup.org/tup/make_vs_tup.html
The guy is funny and knows about the drinking thing..;-)

The website is really funny indeed (;

Freddie, did you ever apply tup on a ChibiOS build? I'd like to try that, but don't wanna write the bunches of tupfiles then...Sadly, it doesn't have a makefile compability mode.

Unfortunately no, but to be honest Tupfiles are much much simplier than typical Makefile (; You can checkout a NuttX build with tup that I've done some time ago - https://github.com/freddiechopin/NuttX/tree/tup_build . In reality 99% of Tupfiles are identical...

With tup you can forget about problems with parallelization, dependancies and speed - it's as fast as it gets and really correct (;

Tectu wrote:There are also alternatives such as SCons.

This one is said to be the slowest of them all (;

4\/3!!

Re: Compiling duration

Posted: Thu Feb 21, 2013 10:40 pm
by Tectu
Freddie Chopin wrote:
Tectu wrote:There are also alternatives such as SCons.

This one is said to be the slowest of them all (;

Sorry, never tried it myself :P


~ Tectu