X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <485BF9A9.6043510@dessent.net>
Date: Fri, 20 Jun 2008 11:40:41 -0700
From: Brian Dessent <brian@dessent.net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: git-1.5.6-1
References: <announce.485BA585.1020605@byu.net> <6910a60806201109s598dc056u305ac080f2b573db@mail.gmail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Reini Urban wrote:

> Some attribute causes the linker to refuse to build the dll and wants
> to build an exe.

That's because you used -Wl,-shared where you should have used -shared. 
When you use -Wl the driver treats the argument as an opaque value that
is simply passed to the linker without interpretation.  In this case it
means the driver is unaware that you're trying to create a shared
library and instead passes to the linker the startup object and
corresponding options for creating a program.

Brian

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

