[Ecls-list] libdir: *nix vs. Windows

Samium Gromoff _deepfire at feelingofgreen.ru
Thu Sep 30 19:24:52 UTC 2010


On Thu, 30 Sep 2010 13:59:46 -0500, Gabriel Dos Reis <gdr at integrable-solutions.net> wrote:
> On Thu, Sep 30, 2010 at 11:03 AM, Samium Gromoff
> <_deepfire at feelingofgreen.ru> wrote:
> > On Thu, 30 Sep 2010 19:08:48 +0400, Samium Gromoff <_deepfire at feelingofgreen.ru> wrote:
> >> However, @libdir@ is @prefix@/lib, which somehow works on Linux, and
> >> breaks on MinGW.
> >
> > Ok, so "*mingw" have INSTALL_TARGET=flatinstall, which mashes bindir,
> > libdir, includedir and ecldir together into $(prefix),
> > /but this fact only surfaces during installation/!
> >
> > Which obviously breaks for code built with default *dir's.
> >
> > The preconditions for flatinstallation are set into motion within
> > aclocal.m4.  Now, there is no way to enforce the above equality
> > constraint between these variables in aclocal.m4, and so /it seems/ we
> > should enforce it somewhere down below the substitution chain, upon
> > detection of the impending flatinstall...
> 
> Or compute the right value of libdir (called ecl_libdir?) at configuration
> time, so that everybody sees the same value.

Well, my long-winded phrase meant exactly this.

Actually the patch implementing this idea is already in my tree.

With this patch ECL is finally able to be built on MinGW, and is
functional enough to build alexandria, babel and some other libs.

-- 
regards,
  Samium Gromoff
--
"Actually I made up the term 'object-oriented', and I can tell you I
did not have C++ in mind." - Alan Kay (OOPSLA 1997 Keynote)




More information about the ecl-devel mailing list