[ANNOUNCEMENT] [1.7] pl-0.10.2-1 - the Parma Polyhedra Library
Sun May 3 17:28:00 GMT 2009
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?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin