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] [1.7] pl-0.10.2-1 - the Parma Polyhedra Library


Dave Korn wrote:

>   I'm not sure.  It's the compiler that knows what it needs, which is the same
> regardless of binutils' preferences, I'm leaning toward the idea that it
> should be in the linker specs for the benefit of anyone using older binutils.

The only reason the compiler NEEDS auto-import is to link against the
shared runtime libraries, since they are not declspec(dllimport)
decorated, right?  However, if you're linking against the static
runtimes, then the compiler doesn't care, and it should be up to the user.

However, if the compiler unconditionally forces enable-auto-import in
the specs file, then the end-user has no choice (or, MIGHT have no
choice depending on the vagarious/order-of-precedence of argument parsing).

Maybe the right compromise here is for gcc-4's specs to force
enable-auto-import when linking against the shared runtimes, but to
leave it up to the default binutils behavior for static?

--
Chuck

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