Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Subject: Re: [Urgent] Building relocatable DLLs
From: Robert Collins <robert.collins@itdomain.com.au>
To: Stephano Mariani <sk.cygml@btinternet.com>
Cc: cygwin@cygwin.com
In-Reply-To: <001501c15f21$8f43a8a0$0100a8c0@sknet01>
References: <001501c15f21$8f43a8a0$0100a8c0@sknet01>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/0.15 (Preview Release)
Date: 31 Oct 2001 22:13:29 +1100
Message-Id: <1004526811.1521.66.camel@lifelesswks>
Mime-Version: 1.0
X-OriginalArrivalTime: 31 Oct 2001 11:17:44.0117 (UTC) FILETIME=[A97BD650:01C161FD]

On Sun, 2001-10-28 at 06:57, Stephano Mariani wrote:
> Firstly I would like to apologise in advance if this is not the right list
> and request that someone direct me to the correct list/page.

We've got the info here, but the question is really a combination
gcc/binutils question - they are the tools we use.
 
> I would like some detailed information on the correct procedure to build
> relocateable dlls using the cygwin tools.

gcc -o foo.dll a.c b.c c.c -l bar

is the canonical way. Run ld --help to get a list of parameters, which
are then passed through gcc via "-Wl,"

Rob


--
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/

