[Ecls-list] Monolithic static libraries and prebuilt systems

Pascal J. Bourguignon pjb at informatimago.com
Mon Sep 17 13:26:47 UTC 2012


Mark Cox <markcox80 at gmail.com> writes:

> G'day,
>
> I am trying to produce a monolithic static library using
> ASDF:MAKE-BUILD on a system that has PREBUILT-ASDF as a dependency. A
> trace on C::BUILDER reveals that the static libraries #P"SYS:LIBCMP.A"
> and #P"SYS:LIBASDF.A" are not being incorporated when building the
> monolithic static library. These libraries, however, are incorporated
> when using ASDF:MAKE-BUILD to build a monolithic program.
>
> I gather from my experimentation that this is not an ECL bug, but
> rather a limitation on object archive handling from the C world. Is
> this true?

IIRC, you could build a static library including static libraries with
ld(1).

You can also directly use ar(1).

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.




More information about the ecl-devel mailing list