delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/10/21:34:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C672DDA.2080902@ece.gatech.edu>
Date: Sun, 10 Feb 2002 21:35:06 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: tmii AT mbnet DOT fi
CC: cygwin AT cygwin DOT com
Subject: Re: "Best" way to build a DLL?
References: <21W5184CAEB3VLIS65OJ64IC74WUNK DOT 3c658c3a AT middlevalue>

Take a look at the new examples in the dllhelpers.  I've added four new 
examples for building DLLs using libtool and friends.

--Chuck

Nousiainen wrote:

 > This seems to be the most complicated thing .. building a DLL file. So,
 >  what is the best and recommended way to do the job using recent
 > cygwin tools?
 >
 > I've read autobook
 > (http://sources.redhat.com/autobook/autobook/autobook_toc.html) and
 >  it gives some good advice (I'm using autotools in my project),
 > though there are some problems  I've encountered. It recommends
 > using _LTLIBRARIES and libtool to build DLL, and as far as I know
 > the building process of a DLL file is already integrated in gcc and
 >  ld, so is the document  outdated? (I have to use both C and C++
 > code in my project, and when specifying AC_PROG_CXX in configure.in
 >  file the configure script doesn't succeed, because it tries to
 > execute a file  called ltconfig which doesn't exist. I really don't
 >  have a clue what to do here...) Dllhelpers
 > (http://www.neuro.gatech.edu/users/cwilson/cygutils/V1.1/index.html)
 >  show another, simple way (using the new dll features of ld) to
 > build the file and it is the only way I have  managed to build a
 > working DLL. However, I don't have an idea how to get this working
 > smoothly with autotools.
 >
 > So, what should I do? I'd appreciate if someone gave me an example
 > of the configuration files for autotools (Makefile.am and
 > configure.in).


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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