delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/20/14:39:11

X-Recipient: archive-cygwin AT delorie DOT 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 AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: git-1.5.6-1
References: <announce DOT 485BA585 DOT 1020605 AT byu DOT net> <6910a60806201109s598dc056u305ac080f2b573db AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

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/

- Raw text -


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