From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To: Alexandre Oliva <aoliva@redhat.com>
Cc: Bernd Jendrissek <berndfoobar@users.sourceforge.net>,
Nathanael Nerode <neroden@twcny.rr.com>,
gcc@gcc.gnu.org, gdb@sources.redhat.com,
binutils@sources.redhat.com
Subject: Re: Partial autoconf transition thoughts
Date: Fri, 13 Jun 2003 20:15:00 -0000 [thread overview]
Message-ID: <Pine.GSO.3.96.1030613215100.20506B-100000@delta.ds2.pg.gda.pl> (raw)
In-Reply-To: <or1xxxu6dx.fsf@free.redhat.lsd.ic.unicamp.br>
On 13 Jun 2003, Alexandre Oliva wrote:
> > OK, the first is a native one, so it goes to $exec_prefix, say:
> > /usr/lib. The second one is a cross one, so it goes to
> > $exec_prefix/$target_alias, say: /usr/mipsel-linux/lib. Finally, the last
> > one is a cross one, too, so it goes to $exec_prefix/$target_alias, say:
> > /usr/mipsel-linux/lib -- oops! -- the second one just got overwritten...
>
> Two crosses to the same target, and you don't want one to overwrite
... from different hosts; only the build is the same.
> the other? Well, then... I guess you want to add build timestamps
> somewhere in the pathname or something.
>
> More likely, I just misunderstand the scenario you have in mind :-)
See my note above. The second library is for binaries that want to run
on this build/host (i386-linux) system, but interpret different target
(mipsel-linux) binaries. The third library is for linking binaries to be
run on another host system (mipsel-linux) and interpret its native
(mipsel-linux) binaries. The third library is never used at the run time,
but it needs to exist for mipsel-linux-ld.
> My proposal back then was $exec_prefix/x-$target_alias for
> host-x-target libraries. libraries for the target (i.e., not
> libraries for host applications to manipulate target binaries, but
> rather libraries containing code that will run on the target) would
> still be in $exec_prefix/$target_alias, where they're currently
> installed, but there's no reason why we couldn't move them to say
> $prefix/$target_alias (since they depend on target, and are totally
> independent of host), and use $exec_prefix/$target_alias for
> host-x-target binaries.
It looks sane to me, but I think both host-x-target (or really
build-x-target; what about build-x-host-x-target? ;-) ) libraries and such
binaries should both be under $exec_prefix/x-$target_alias for consistency
then. And host libraries (I suppose you mean that -- few libraries, such
as bfd, actually recognize the existence of a target; I understand the
naming can be confusing) may go to $prefix/$host_alias (where $prefix may
sometimes effectively be equal to $exec_prefix). And native (i.e.
build/host) libraries and binaries go straight under $exec_prefix.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
next prev parent reply other threads:[~2003-06-13 20:15 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-10 0:40 Nathanael Nerode
2003-06-10 0:59 ` Alexandre Oliva
2003-06-10 10:59 ` Maciej W. Rozycki
2003-06-10 11:38 ` Andreas Schwab
2003-06-10 12:45 ` Maciej W. Rozycki
2003-06-10 22:06 ` Alexandre Oliva
2003-06-11 11:32 ` Maciej W. Rozycki
2003-06-11 18:04 ` Alexandre Oliva
2003-06-11 19:39 ` Maciej W. Rozycki
2003-06-11 20:39 ` Alexandre Oliva
2003-06-12 11:21 ` Maciej W. Rozycki
2003-06-12 12:10 ` Bernd Jendrissek
2003-06-12 12:26 ` Maciej W. Rozycki
2003-06-12 21:42 ` Alexandre Oliva
2003-06-13 10:35 ` Maciej W. Rozycki
2003-06-13 14:02 ` Alexandre Oliva
2003-06-13 18:32 ` Maciej W. Rozycki
2003-06-13 19:25 ` Alexandre Oliva
2003-06-13 20:15 ` Maciej W. Rozycki [this message]
2003-06-13 20:54 ` Alexandre Oliva
2003-06-14 14:33 ` Maciej W. Rozycki
2003-06-14 15:43 ` Alexandre Oliva
2003-06-14 18:27 ` Maciej W. Rozycki
2003-06-26 7:24 ` Alexandre Oliva
2003-06-28 0:35 ` Maciej W. Rozycki
-- strict thread matches above, loose matches on Subject: below --
2003-06-10 1:40 Nathanael Nerode
2003-06-10 1:46 ` DJ Delorie
2003-06-09 22:02 Daniel Jacobowitz
2003-06-09 22:17 ` Andrew Cagney
2003-06-09 22:34 ` Alexandre Oliva
2003-06-09 23:14 ` Daniel Jacobowitz
2003-06-10 0:44 ` Alexandre Oliva
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=Pine.GSO.3.96.1030613215100.20506B-100000@delta.ds2.pg.gda.pl \
--to=macro@ds2.pg.gda.pl \
--cc=aoliva@redhat.com \
--cc=berndfoobar@users.sourceforge.net \
--cc=binutils@sources.redhat.com \
--cc=gcc@gcc.gnu.org \
--cc=gdb@sources.redhat.com \
--cc=neroden@twcny.rr.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).