This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Addition: ecos build system remarks (configtool/ecosconfig)
- From: Peter Soetens <peter dot soetens at mech dot kuleuven dot ac dot be>
- To: ecos-discuss at sources dot redhat dot com
- Date: Thu, 11 Sep 2003 11:23:44 +0200
- Subject: [ECOS] Addition: [ECOS] ecos build system remarks (configtool/ecosconfig)
- Organization: KU Leuven
- References: <200309111111.22409.peter.soetens@mech.kuleuven.ac.be>
- Reply-to: peter dot soetens at mech dot kuleuven dot ac dot be
I forgot another very important one :
* the headers are copied to the install directory (again build.cxx), why not
make symbolic links (to be optional) ? If my IDE opens a header for fixing
compile errors, it will always open the installed version, thus modifying not
the original.
-> This only requires a trivial patch.
Even more, looking at how headers are installed in 'makefile', this could even
be put in a rules.mak file instead of outputing all the separate targets...
but that connects again with my first point in the previous mail.
Peter
On Thursday 11 September 2003 11:11, Peter Soetens wrote:
> Hi,
>
> After using the build system a couple of weeks, I have the following
> remarks/questions :
>
> * Shouldn't extension recognition be extended beyond .c,.h,.cxx,.hxx ?
> (and at which places must this be done ?)
> * What is the 'good practice rule' for putting something in the rules.mak
> file or putting it in the build.cxx file ?
> * ar -rcs is slow with large archive, better do first ar -rc and ranlib at
> the end. This is however hardcoded in common/common/build.cxx
> * make clean should remove the libtarget.a file (or make a new target which
> does so)
> * the make property has obligatory dependencies. I'd like to have a make
> rule that is executed at each make, unconditionaly, so without
> dependencies.
> * How would you specify a dependency on libtarget.a itself in a custom make
> property ?
>
> I am aware of your TODO list, but these are my personal priorities :-)
> Which of them are likely to be accepted if a patch is submitted ?
>
> Peter
>
> --
> ------------------------------------------------------------------------
> Peter Soetens http://www.orocos.org
> Katholieke Universiteit Leuven
> Division Production Engineering, tel. +32 16 322773
> Machine Design and Automation fax. +32 16 322987
> Celestijnenlaan 300B peter.soetens@mech.kuleuven.ac.be
> B-3001 Leuven Belgium http://www.mech.kuleuven.ac.be/pma
> ------------------------------------------------------------------------
--
------------------------------------------------------------------------
Peter Soetens http://www.orocos.org
Katholieke Universiteit Leuven
Division Production Engineering, tel. +32 16 322773
Machine Design and Automation fax. +32 16 322987
Celestijnenlaan 300B peter.soetens@mech.kuleuven.ac.be
B-3001 Leuven Belgium http://www.mech.kuleuven.ac.be/pma
------------------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss