This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] Updated: git-1.5.6-1


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]