public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
From: hjl@nynexst.com (H.J. Lu)
To: dholland@husc.harvard.edu
Cc: gas2@cygnus.com, ian@cygnus.com (Ian Lance Taylor)
Subject: Re: problems with ld from binutils 2.5.2l.20
Date: Thu, 03 Aug 1995 06:53:00 -0000	[thread overview]
Message-ID: <9508031349.AA10077@nynexst.com> (raw)
In-Reply-To: <9508021833.AA27238@husc7.harvard.edu>

> 
>  > For the GNU linker, -L applies to all -l's.
> 
> This behavior is wrong. First, it makes no sense, since the order of
> -l's is significant, and second, it makes it impossible to control
> which copies of which libraries are linked with, which could be
> significant. 
> 

The problem is twofold:

1. gcc will re-arrange the order of -L's and -l's. It puts -L's ahead of
   -l's.
2. One -L list is used fo all libraries in the linker.

We have to change both gcc and ld to do the "right" thing.


-- 
H.J. Lu
NYNEX Science and Technology, Inc.			hjl@nynexst.com


       reply	other threads:[~1995-08-03  6:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9508021833.AA27238@husc7.harvard.edu>
1995-08-03  6:53 ` H.J. Lu [this message]
1995-08-03  8:29   ` Ian Lance Taylor
1995-09-11 12:34   ` Ian Lance Taylor
1995-09-11 13:05     ` Richard Stallman
1995-09-12  3:43       ` Wolfgang Stukenbrock

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=9508031349.AA10077@nynexst.com \
    --to=hjl@nynexst.com \
    --cc=dholland@husc.harvard.edu \
    --cc=gas2@cygnus.com \
    --cc=ian@cygnus.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).