libtool
[Top][All Lists]
Advanced

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

Installing DLLs on Cygwin


From: Mike Gran
Subject: Installing DLLs on Cygwin
Date: Sat, 27 Sep 2014 18:51:33 -0700

Hello Libtool,

I was lead to believe that if I use libtool to install
a dll created on Cygwin using automake with a lib_LTLIBRARIES
rule, that libtool would install the dll in /usr/bin and the
linker and convenience libraries in /usr/lib.  but I can't
seem to get it to work.

For example the libtool invocation below copies the dll into
/usr/lib in the invocation below.  This is with libtool 2.4.2.

$ /usr/bin/libtool --mode=install install -c libguile-ncurses.la /usr/lib

libtool: install: install -c .libs/libguile-ncurses.dll.a 
/usr/lib/libguile-ncurses.dll.a
libtool: install: base_file=`basename libguile-ncurses.la`
libtool: install:  dlpath=`/bin/sh 2>&1 -c '. .libs/'libguile-ncurses.la'i; 
echo cygguile-ncurses-8.dll'`
libtool: install:  dldir=/usr/lib/`dirname cygguile-ncurses-8.dll`
libtool: install:  test -d /usr/lib/. || mkdir -p /usr/lib/.
libtool: install:  install -c .libs/cygguile-ncurses-8.dll 
/usr/lib/./cygguile-ncurses-8.dll 
libtool: install:  chmod a+x /usr/lib/./cygguile-ncurses-8.dll
libtool: install:  if test -n '' && test -n 'strip --strip-unneeded'; then eval 
'strip --strip-unneeded /usr/lib/./cygguile-ncurses-8.dll' || exit 0; fi
libtool: install: install -c .libs/libguile-ncurses.lai 
/usr/lib/libguile-ncurses.la
libtool: install: warning: remember to run `libtool --finish /usr/local/lib' 


The makefile for the code in question can be found here
http://git.savannah.gnu.org/cgit/guile-ncurses.git/tree/ncurses/Makefile.am

Any ideas?

-Mike Gran



reply via email to

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