Compiling duration

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: Compiling duration

Post by Tectu »

haha, well played sir, well played... :D


~ Tectu
goeck
Posts: 92
Joined: Mon Feb 11, 2013 12:00 pm

Re: Compiling duration

Post 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
mabl
Posts: 417
Joined: Tue Dec 21, 2010 10:19 am
Been thanked: 1 time

Re: Compiling duration

Post by mabl »

We could also move to a cmake based build system. I think there was also some initial work done in this direction.
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: Compiling duration

Post 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
gmb42
Posts: 31
Joined: Tue Oct 02, 2012 8:09 pm

Re: Compiling duration

Post 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.
Freddie Chopin
Posts: 36
Joined: Wed Oct 17, 2012 8:57 am

Re: Compiling duration

Post 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!!
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: Compiling duration

Post 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
Post Reply