This is the mail archive of the
mailing list for the Cygwin project.
Cygwin's libtool, passing .def file name to gcc during linking
- From: Maarten Boekhold <boekhold at emirates dot net dot ae>
- To: cygwin at cygwin dot com
- Date: Thu, 09 Sep 2004 17:47:21 +0400
- Subject: Cygwin's libtool, passing .def file name to gcc during linking
I'm trying to port an application to Cygwin that uses libtool to drive
This application needs to be linked with a ".def" file during the
linking stage, i.e. (formatted to make it readable)
/bin/bash ./libtool --mode=link gcc -g -O2
-o libplugin.la -rpath /usr/local/lib
-lglib-2.0 -lintl -liconv plugin.def
rm -fr .libs/libplugin.dll.a
gcc -shared .libs/libplugin_la-plugin.o
/usr/lib/libiconv.dll.a -o .libs/cygplugin-0.dll
as you see I'm trying to pass a 'plugin.def' filename to libtool, with
the intention this shows up in the GCC command. It doesn't, and I can't
figure out how to pass this apart from manually hacking libtool.
Anybody have any suggestions?
(btw. the reason I send this to the cygwin list is that I know the
cygwin version of libtool is somewhat hacked. I'm using devel btw.)
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html