[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cross Compiling for ARM
From: |
Thomas Dickey |
Subject: |
Re: Cross Compiling for ARM |
Date: |
Wed, 10 Sep 2003 05:46:43 -0400 (EDT) |
On Wed, 10 Sep 2003 address@hidden wrote:
>
> On 09/09/2003 17:25:01 Dan Kegel wrote:
> >address@hidden wrote:
> >> I've just applied patch-5.3-20030719.sh and tried to cross compile and
> the
> >> problem is still there, make_hash and make_keys are being built with the
> >> wrong tools.
> >
> >Can you post how you configured? BTW I posted a script at
> >http://mail.gnu.org/archive/html/bug-ncurses/2003-09/msg00000.html
> >which showed how I configured for cross-compilation
> >(it's the last part of the post). Your problem could come about
> >if you don't tell configure the right CC for everything.
>
> I configured with:
> ./configure --host=arm-linux --build=i686-linux
See the discussion in INSTALL for "--with-build-cc" and related options.
autoconf only looks for one compiler, in this case the compiler you are
using for cross-compiling. There are a few source files that are built
using utilities that are compiled by your regular compiler (build-cc).
>
> As I said earlier in this thread, I got round it by configuring for all
> i686
> first so that make_keys and make_hash get built with the correct
> tools. After this I reconfigured to cross compile and rebuilt - this
> successfully builds.
>
> Chris
> --
> Chris Pedley, Graduate Engineer
> Intellectual Property Solutions Division
> ARM Ltd, 110 Fulbourn Rd, Cambridge CB1 9NJ UK
> Tel : +44 1223 400847 Fax: +44 1223 400410
>
>
>
>
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-ncurses
>
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net