delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/09/15:55:30

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
From: Nousiainen <am DOT nousiainen AT pp DOT inet DOT fi>
To: cygwin AT cygwin DOT com
Date: Sat, 09 Feb 2002 22:53:14 +0200
X-Priority: 3 (Normal)
Reply-To: tmii AT mbnet DOT fi
Message-Id: <21W5184CAEB3VLIS65OJ64IC74WUNK.3c658c3a@middlevalue>
Subject: "Best" way to build a DLL?
MIME-Version: 1.0
X-Mailer: Opera 6.0 build 1010

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