From: Pierre AUBERT <p.aubert@staubli.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Library order problem
Date: Tue, 19 Nov 2002 16:58:54 +0100 [thread overview]
Message-ID: <3DDA5FBE.C3918386@staubli.com> (raw)
In-Reply-To: IIEEICKJLNEPBBDJICNGMENJCKAA.chuck@ThePTRGroup.com
Chuck Meade wrote:
> I believe that this is GNU-specific, but try surrounding $(LIBS)
> with the --start-group and --end-group switches. That has worked
> for me in the past when a group of interdependent libraries has
> needed multiple-scanning. This should allow just one instance of
> $(LIBS) as well.
>
You're right, it works for me with only one invocation of LIBS and the old
definition (with the board specific library in first).
I think it's a good way to solve this problem.
>
> Chuck Meade
> The PTR Group
>
> > Please note that the libraries are already searched twice:
> >
> > ...
> > u-boot: depend subdirs $(OBJS) $(LIBS) $(LDSCRIPT)
> > $(LD) $(LDFLAGS) $(OBJS) $(LIBS) $(LIBS) -Map u-boot.map -o u-boot
> >
> > This is ugly, and I really would like to get rid of this.
> >
> ...
> >
> > Maybe there is a better way? We used to have ranlib for things like
> > this, but it does not seem to help on PPC. Anybody any ideas?
> >
> > Best regards,
> >
> > Wolfgang Denk
Best regards
next prev parent reply other threads:[~2002-11-19 15:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-19 14:40 [U-Boot-Users] Library order problem Pierre AUBERT
2002-11-19 15:25 ` Wolfgang Denk
2002-11-19 15:39 ` Chuck Meade
2002-11-19 15:58 ` Pierre AUBERT [this message]
2002-11-19 16:09 ` Wolfgang Denk
2002-11-19 15:48 ` Pierre AUBERT
2002-11-19 15:26 ` Chuck Meade
2002-11-19 15:41 ` Pierre AUBERT
-- strict thread matches above, loose matches on Subject: below --
2002-11-19 15:57 Marius Gröger
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=3DDA5FBE.C3918386@staubli.com \
--to=p.aubert@staubli.com \
--cc=u-boot@lists.denx.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.