libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Support for multiple memory models?


From: Norton Allen
Subject: Support for multiple memory models?
Date: Tue, 13 Aug 2002 15:24:58 -0400 (edt)

Is there any support in libtool/automake/autoconf for building
libraries for multiple memory models, specifically for renaming
the libraries during installation? I see that autoconf has the
program_transform_name capability to rename programs and scripts
during installation, but libraries do not benefit from this hook.

My current best approach is to configure and build in a
model-specific subdirectory with appropriate CFLAGS, install to a
model-specific DESTDIR, then provide some external script to
rename the libraries:

  e.g.   s/libfoo.a =>  foos.lib
         l/libfoo.a =>  fool.lib
        3r/libfoo.a => foo3r.lib

-Norton Allen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]