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 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: <6910a60806201109s598dc056u305ac080f2b573db AT mail DOT gmail DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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/