This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] libc/newlib: fix configure error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]