This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Does libstdc++ v3 not work with Canadian crosses?
On Jun 28, 2001, Daniel Jacobowitz <dmj+@andrew.cmu.edu> wrote:
> On Thu, Jun 28, 2001 at 06:04:06AM -0300, Alexandre Oliva wrote:
>> On Jun 27, 2001, Daniel Jacobowitz <dmj+@andrew.cmu.edu> wrote:
>>
>> > # If Canadian cross, then don't pick up tools from the build
>> > # directory.
>> > if test x"$build" != x"$with_cross_host" && x"$build" != x"$target"; then
>>
>> > There'd better be a "test" after that "&&" unless my installed shells
>> > have diverged from everyone else's.
>>
>> Yup, this is definitely wrong. Especially given that, when you
>> configure the top-level with a certain (build,host,target) triplet,
>> target libraries such as libstdc++ are configured with
>> (host,target,N/A) for (build,host,target), so testing for target in
>> libstdc++'s configure is totally wrong.
> Is that really true?
Nope, sorry. (build,host,target) becomes (build,target,N/A), as you
have found out. Anyway, the main point was that the top-level target
becomes the target-library host.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me