bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cross Compiling for ARM


From: Chris . Pedley
Subject: Cross Compiling for ARM
Date: Tue, 26 Aug 2003 18:18:01 +0100

Hi,

I previosly posted about cross compiling for ARM Linux but have been asked
to repost as apparently the email became lost.  Since originally posting I
have successfully cross compiled ncurses 5.3 for ARM Linux but found the
following possible bugs in the build system.

Originally I was configuring with:
./configure --host=arm-linux --build=i686-linux

I was trying to build ARM versions of the libraries using the arm-linux-gcc
compiler, with the compiler running on an Linux Intel x86 machine.
However, after typing make the build system generates make_hash and
make_keys using arm-linux-gcc, then tries to run them.  It should surely be
using an x86 gcc to generate these utilities?

The solution to this problem appears to be to do a configure with no
parameters (i.e. don't cross compile) and build the make_hash and make_keys
utilities then reconfigure using the above configure line.  The build
system will not try to regenerate the make_hash and make_keys utilities
when cross compiling and so the build gets further.  Is there a cleaner
official solution to this?


The other problem seemed to resolve around parts of the build written in
Ada95 failing.  My apologies for not having more details, I didn't note
down the error - but simply uninstalling the Ada compiler seemed to fix the
problem and the build then ran to completion.  Has anybody else reported
this problem, or do I just have a broken Ada95 toolchain?

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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]