From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29738 invoked by alias); 11 Dec 2011 21:25:42 -0000 Received: (qmail 29695 invoked by uid 22791); 11 Dec 2011 21:25:42 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from smtp11.smtpout.orange.fr (HELO smtp.smtpout.orange.fr) (80.12.242.133) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 11 Dec 2011 21:25:27 +0000 Received: from treguer.localnet ([90.32.38.45]) by mwinf5d46 with ME id 7xRS1i0030ySpGA03xRSGX; Sun, 11 Dec 2011 22:25:26 +0100 From: "Yann E. MORIN" To: crossgcc@sourceware.org Subject: Re: [PATCH] libc/newlib: fix configure error Date: Sun, 11 Dec 2011 21:25:00 -0000 User-Agent: KMail/1.13.5 (Linux/3.1.4-treguer; KDE/4.4.5; x86_64; ; ) Cc: Zhenqiang Chen References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201112112225.24818.yann.morin.1998@anciens.enib.fr> Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2011-12/txt/msg00017.txt.bz2 Zhenqiang, All, On Wednesday 07 December 2011 03:18:16 Zhenqiang Chen wrote: > exporting patch: > # HG changeset patch > # User Zhenqiang Chen > # Date 1323223997 -28800 > # Node ID f4ac9aa016c90484868940a8077ecb035ab4c26f > # Parent cf509170838f4e289fe25617e3f3db1d6d6ffc41 > libc/newlib: fix configure error >=20 > Signed-off-by: Zhenqiang Chen >=20 > 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=3D${CT_TARGET}-ar \ > RANLIB=3D${CT_TARGET}-ranlib \ > "${CT_SRC_DIR}/newlib-$(libc_newlib_version)/configure" \ > - --host=3D${CT_BUILD} \ > + --build=3D${CT_BUILD} \ > + --host=3D${CT_HOST} \ > --target=3D${CT_TARGET} \ > --prefix=3D${CT_PREFIX_DIR} \ > "${newlib_opts[@]}" \ Can you elaborate on the issue you are trying to fix with this patch? =46rom 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. --=20 .-----------------.--------------------.------------------.----------------= ----. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspira= cy: | | +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 conspirac= y. | '------------------------------^-------^------------------^----------------= ----' -- For unsubscribe information see http://sourceware.org/lists.html#faq