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


On 12/07/2011 04:17 AM, Mike Frysinger wrote:
On Tuesday 06 December 2011 21:18:16 Zhenqiang Chen wrote:
--- 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

      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}                           \

i'd expect newlib to be like glibc and would use: --build=${CT_BUILD} --host=${CT_TARGET}

does newlib even use --target= ?

The toplevel configure script does (It is GCC's/binutil's/gdb's unified configure script).


The newlib subdir's configure script doesn't.

So .. the answer would depend upon which configure script the patch above refers to.


Ralf




--
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]