public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
To: crossgcc@sourceware.org
Cc: Zhenqiang Chen <zhenqiang.chen@linaro.org>
Subject: Re: [PATCH] libc/newlib: fix configure error
Date: Sun, 11 Dec 2011 21:25:00 -0000	[thread overview]
Message-ID: <201112112225.24818.yann.morin.1998@anciens.enib.fr> (raw)
In-Reply-To: <CACgzC7AEKLAMn3iQtKF89e3Shf9k4iYu9Z4ZZJ39=M2DH0KEiQ@mail.gmail.com>

Zhenqiang, All,

On Wednesday 07 December 2011 03:18:16 Zhenqiang Chen wrote:
> exporting patch:
> # HG changeset patch
> # User Zhenqiang Chen <zhenqiang.chen@linaro.org>
> # Date 1323223997 -28800
> # Node ID f4ac9aa016c90484868940a8077ecb035ab4c26f
> # Parent  cf509170838f4e289fe25617e3f3db1d6d6ffc41
> libc/newlib: fix configure error
> 
> Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
> 
> diff -r cf509170838f -r f4ac9aa016c9 scripts/build/libc/newlib.sh
> --- a/scripts/build/libc/newlib.sh      Wed Nov 30 12:07:59 2011 +0100
> +++ b/scripts/build/libc/newlib.sh      Wed Dec 07 10:13:17 2011 +0800
> @@ -98,7 +98,8 @@
>      AR=${CT_TARGET}-ar                                  \
>      RANLIB=${CT_TARGET}-ranlib                          \
>      "${CT_SRC_DIR}/newlib-$(libc_newlib_version)/configure" \
> -        --host=${CT_BUILD}                              \
> +        --build=${CT_BUILD}                             \
> +        --host=${CT_HOST}                               \
>          --target=${CT_TARGET}                           \
>          --prefix=${CT_PREFIX_DIR}                       \
>          "${newlib_opts[@]}"                             \

Can you elaborate on the issue you are trying to fix with this patch?

From my experience, newlib confuses build vs. host vs. target (see the
comment just above the ./configure call). So, I'm a bit reluctant at
applying this patch without more information.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

--
For unsubscribe information see http://sourceware.org/lists.html#faq

  parent reply	other threads:[~2011-12-11 21:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-07  2:18 Zhenqiang Chen
2011-12-07  3:17 ` Mike Frysinger
2011-12-07  4:46   ` Ralf Corsepius
2011-12-07  7:57     ` Zhenqiang Chen
2011-12-07  6:01   ` Zhenqiang Chen
2011-12-11 21:25 ` Yann E. MORIN [this message]
2011-12-12  3:55   ` Zhenqiang Chen

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=201112112225.24818.yann.morin.1998@anciens.enib.fr \
    --to=yann.morin.1998@anciens.enib.fr \
    --cc=crossgcc@sourceware.org \
    --cc=zhenqiang.chen@linaro.org \
    /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).