On Mon, 20 Mar 2000 16:02:29 -0500, Steven J. Hill wrote:
> I attempted to cross-compile BASH on my i686 for ARM, but could not seem to
> get the steps right to do it. I have a complete tool chain that works, but
> the configure script seems to freak out a lot of places. Does anyone have a
> step by step list OR would someone just provide me a statically linked BASH
> binary for a 7xx seris ARM core. NO StrongARM binaries please. I am trying
> to test my serial console and am going to create a RAMdisk with BASH as my
> /sbin/init. I apologize if this was asked before, but I did not find much in
> the mailing list archives or I overlooked it. Thanks.

It's a bit tricky. Here's my build recipe:

1. untar bash
2. make two build directories: i386 and arm
3. cd i386
4. configure for i386: ../bash-2.03/configure (this is a little known
   feature with every autoconf/automake package)
5. cd ../arm
6. configure for ARM: ../bash-2.03/configure arm-unkwown-linux-gnu
7. see where it crashes, replace (with educated guesses) the relevant
   parts of i386/config.cache into arm/config.guess
8. compile bash
9. Repeat steps 6-8 until you got a working binary


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2785859  Fax: +31-15-2781843  Email [EMAIL PROTECTED]
WWW: http://www-ict.its.tudelft.nl/~erik/




unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++        Please use [EMAIL PROTECTED] for           ++
++                        kernel-related discussions.                      ++

Reply via email to