Compiling duration

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

Moderators: RoccoMarco, lbednarz, utzig, tfAteba, barthess

User avatar
Tectu
Posts: 1226
Joined: Thu May 10, 2012 9:50 am
Location: Switzerland
Contact:

Re: Compiling duration

Postby Tectu » Sat Feb 16, 2013 1:24 pm

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


~ Tectu

goeck
Posts: 92
Joined: Mon Feb 11, 2013 12:00 pm
Location: Germany

Re: Compiling duration

Postby goeck » Mon Feb 18, 2013 11:07 am

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
Location: Karlsruhe, Germany
Been thanked: 1 time
Contact:

Re: Compiling duration

Postby mabl » Thu Feb 21, 2013 2:19 pm

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: 1226
Joined: Thu May 10, 2012 9:50 am
Location: Switzerland
Contact:

Re: Compiling duration

Postby Tectu » Thu Feb 21, 2013 3:49 pm

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
Location: Aberdeenshire, UK

Re: Compiling duration

Postby gmb42 » Thu Feb 21, 2013 10:08 pm

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

Postby Freddie Chopin » Thu Feb 21, 2013 10:26 pm

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: 1226
Joined: Thu May 10, 2012 9:50 am
Location: Switzerland
Contact:

Re: Compiling duration

Postby Tectu » Thu Feb 21, 2013 10:40 pm

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


Return to “General Support”

Who is online

Users browsing this forum: No registered users and 18 guests