delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/23/10:43:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 21 Dec 2004 13:13:13 +0400
From: Maarten Boekhold <boekhold AT emirates DOT net DOT ae>
Subject: Re: How change libtool rule of naming dlls from "cygFOO-version.dll" to "FOO.dll"?
In-reply-to: <loom.20041221T073209-640@post.gmane.org>
To: cygwin AT cygwin DOT com
Message-id: <41C7E929.4080303@emirates.net.ae>
MIME-version: 1.0
User-Agent: Mozilla Thunderbird 1.0 - [MOOX M3] (Windows/20041208)
References: <loom DOT 20041221T073209-640 AT post DOT gmane DOT org>
X-IsSubscribed: yes


Mikhail Dmitrievsky wrote:
> Hello!
> 
> I have a problem. I write dll for Tcl and my dll must have fixed name 
> "libsurfit.dll" because of fixed initial procedure name, but using libtool i 
> have cygsurfit-1.dll :( 

Use the "-module" flag with libtool. That will create libsurfit-1.dll 
instead of cygsurfit-1.dll.

If you also want to get rid of the version number, use in addition the 
"-avoid-version" flag.

eg.

	libtool -module -avoid-version .......

Maarten


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019