public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
To: cygwin@cygwin.com
Subject: Re: getopt: ugly linker messages
Date: Fri, 19 Sep 2003 14:22:00 -0000	[thread overview]
Message-ID: <3F6B0965.3050304@cwilson.fastmail.fm> (raw)
In-Reply-To: <20030919064843.GM9981@cygbert.vinschen.de>

Corinna Vinschen wrote:

> Since that auto-import is working fine for a long while now and since
> this sort of auto-import is normal for any other platform... isn't there
> a time we can get rid of that message?

auto-import is not the default for all pei386 versions of binutils, 
particularly mingw.

And auto-import is in no way "normal".  It provides functionality that, 
on the surface, appears to emulate the normal behavior of other 
platforms -- but under the hood, it's a bizzarre beast.

So, taking those two points into consideration, I'm not sure what the 
right thing to do is, without ticking somebody on some platform off. 
The current compromise seems to be mostly acceptable.

Perhaps a cygwin-special (e.g. doesn't go back to binutils CVS) patch? 
In that case, it's a one-liner -- just change the default value of 
link_info.pei386_auto_import to '1' instead of '-1' in pe.em (you might 
also need to change the default in ldmain.c, but I don't think that's 
necessary.)

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

  reply	other threads:[~2003-09-19 13:51 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-18 19:56 Bryan Higgins
2003-09-18 19:57 ` Christopher Faylor
2003-09-19  3:54   ` Charles Wilson
2003-09-19  7:03     ` Corinna Vinschen
2003-09-19 14:22       ` Charles Wilson [this message]
2003-09-19 15:20         ` Christopher Faylor
2003-09-19 15:38           ` Corinna Vinschen
2003-09-19 18:03           ` Larry Hall
2003-09-19 18:57           ` Ivan Warren
2003-09-20  1:12             ` Ivan Warren
2003-09-20 19:40               ` Ivan Warren
2003-09-20 20:52                 ` Christopher Faylor
2003-09-20 20:58                   ` Ivan Warren
2003-09-20 23:31                     ` Christopher Faylor
2003-09-21  0:02                       ` Ivan Warren
2003-09-21  0:04                         ` Christopher Faylor
2003-09-21  2:32                           ` Ivan Warren
2003-09-21  8:18                           ` PE Linker and/or runtime error when importing data from DLL (was RE: getopt: ugly linker messages) - hopefully solved Ivan Warren
2003-09-18 20:13 getopt: ugly linker messages Bryan Higgins
2003-09-18 20:18 ` Christopher Faylor
2003-09-18 20:48 Bryan Higgins
2003-09-18 21:46 ` Rolf Campbell
2003-09-19 22:14 Danny Smith
2003-09-20  9:53 ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F6B0965.3050304@cwilson.fastmail.fm \
    --to=cygwin@cwilson.fastmail.fm \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).