Re: monolithic-lib-op

2015-10-07 Thread Stelian Ionescu
> On Tue, Oct 6, 2015 at 2:30 AM, Florian Margaine wrote: > > After speaking a bit with jackdaniel on irc, it seems that the issue is > > correctly writing the .a files? If so, since it's a simple ar archive, this > > could be done in Lisp. I wrote an ar writer in less than

Re: monolithic-lib-op

2015-10-07 Thread Daniel Kochmański
I've mistakenly taken this thread as one on the ecl-devel - please ignore direct ECL references. Regards, Daniel Daniel Kochmański writes: > Faré writes: > >> On Tue, Oct 6, 2015 at 1:18 AM, Daniel Kochmański >> wrote: >>> >>> Faré writes: >>> Difficulties making

Re: monolithic-lib-op

2015-10-06 Thread Florian Margaine
Hi, After speaking a bit with jackdaniel on irc, it seems that the issue is correctly writing the .a files? If so, since it's a simple ar archive, this could be done in Lisp. I wrote an ar writer in less than 100 lines with some hard coded values:

Re: monolithic-lib-op

2015-10-06 Thread Faré
On Tue, Oct 6, 2015 at 2:30 AM, Florian Margaine wrote: > After speaking a bit with jackdaniel on irc, it seems that the issue is > correctly writing the .a files? If so, since it's a simple ar archive, this > could be done in Lisp. I wrote an ar writer in less than 100

Re: monolithic-lib-op

2015-10-05 Thread Daniel Kochmański
Faré writes: > Difficulties making monolithic-lib-op portable suggest that it (and > maybe also lib-op) should output an object file as if by ld -r rather > than a static library. Indeed, there is no *portable* way to combine > several .a files into a single one on a BSD system (including MacOS

Re: monolithic-lib-op

2015-10-05 Thread Daniel Kochmański
Faré writes: > On Tue, Oct 6, 2015 at 1:18 AM, Daniel Kochmański > wrote: >> >> Faré writes: >> >>> Difficulties making monolithic-lib-op portable suggest that it (and >>> maybe also lib-op) should output an object file as if by ld -r rather >>> than a static library.

Re: monolithic-lib-op

2015-10-05 Thread Faré
On Tue, Oct 6, 2015 at 1:18 AM, Daniel Kochmański wrote: > > Faré writes: > >> Difficulties making monolithic-lib-op portable suggest that it (and >> maybe also lib-op) should output an object file as if by ld -r rather >> than a static library. Indeed, there is no