[Devel] static compilation ... openser1.2

Cesc cesc.santa at gmail.com
Wed Apr 18 13:29:19 CEST 2007


Hi Daniel,

Well, I took a second look at it and I think it is a one time effort,
which once solved and if future development sticks to the rules, shall
not be too complicated. It could definitely be made easier, but
costing development time ... to bring it up to speed now is a question
of routine work, which by the way i am halfway.

The issues are:
- collision of global variables defined in modules: solvable
- missing libraries when linking: solvable
- on register_built_in_modules: massive repetitive code ... boring, but doable

Unless we redesign completely, I think I can bring all modules up to a
statically compilable state in 1.2 and port it to trunk.
Take a look yourself, the key is in sr_module.c/h

Cesc

On 4/18/07, Daniel-Constantin Mierla <daniel at voice-system.ro> wrote:
> Hello Cesc,
>
> I think then we should start discussing how to make static compilation
> easier, I see no reason to commit an intermediary patch and then
> refurbish everything. Awaiting your proposal.
>
> Cheers,
> Daniel
>
>
> On 04/17/07 02:52, Cesc wrote:
> > Hi,
> >
> > I have compiled openser1.2 statically, well, at least the few modules
> > I needed.
> > This is a nice feature, I think, to compile statically, specially for
> > those like me who compile and forget ... less mess in terms of
> > installation and maintenance ...
> > Anyway, I can send the patch which allows compilation of these few
> > modules ... but I do think that some effort shall be placed in
> > redesigning the things that make static compilation easier ... or
> > maybe not and just do it once and for all and coming modules shall
> > adapt to it.
> >
> > Bogdan, Daniel? or shall I just commit it? it is for v1.2 ... i am not
> > working on trunk, but this part shall be exactly the same ...
> >
> > Cesc
> >
> > _______________________________________________
> > Devel mailing list
> > Devel at openser.org
> > http://openser.org/cgi-bin/mailman/listinfo/devel
> >
>



More information about the Devel mailing list