Re: [chrony-dev] Build scripts.

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


On Tue, Nov 03, 2009 at 06:35:43PM +0000, Jonathan Cameron wrote:
> > Can you elaborate on what is needed to build it on the system?
> Sure. The current problem is that the script is not making it easy to pass in
> the linker parameter --hash-style=gnu. I can slip it in by making sure LDFLAGS
> are explicitly used.

That should be easy to fix. Thanks for the patch :).
We should add also CPPFLAGS support while we are it.

> I'd agree if chrony didn't already have a lot of rather specific hacks.

Would the hacks disappear if we switched to autotools?

> Also, if those are the only support systems, then there is a fair bit of cleanup
> to do removing old windows support amongst other things.

The documentation states that only chronyc builds in cygwin, I never
tried it though.

> The question really comes down to whether it is easier to maintain custom
> scripts and fix build trouble when it occurs, or do a clean set of autotools
> scripts that 'more or less' should work for anything anyone throws at them.
> This is particularly relevant for any automated builds where a lot of compile
> settings may vary.

Based on my previous experiences with autotools I'd say maintaing the
current scripts is really the easier option. The build is
straigthforward, there are no shared objects or anything complicated.
Most of the portability related code is in sys_* files anyway.

If there is anything else that breaks your build, I'll do my best to
fix it. 

-- 
Miroslav Lichvar

---
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/