Re: [iPAQ] Assembler Errors

From: Erik Mouw <J.A.K.Mouw.a.t.its.tudelft.nl>
Date: Mon Jan 14 2002 - 10:21:45 EST

On Mon, Jan 14, 2002 at 04:32:53PM +0200, Jukka Santala wrote:
> On Sun, 13 Jan 2002, George France wrote:
> > I was hoping that ./configure with the correct envir. vars would create a
> > more proper 'Makefile' and take care of the problem. In general when
> > cross-compiling using autoconf, automake and libtool; CC, AR and RANLIB must
>
> Is there any reason this way would be preferred to setting the
> cross-compiler binary-path as first in the PATH, which would automatically
> ensure all programs available are caught, even if there are pieces which
> aren't made to support specific environment variables?

Here's my recipe that cross compiles 99% of all autoconf'ed packages
out there:

1) have the cross compiler in your path
2) export CC=arm-linux-gcc
3) export whatever other tools configure might need
4) run ./configure [flags] arm-linux
   (use arm-unknown-linux-gnu if arm-linux fails)
5) if configure complains about tools, rune "make distclean" and goto 3
6) run make
7) if make complains about tools, run "make distclean" and goto 3
8) run make install

Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty
of Information Technology and Systems, Delft University of Technology,
PO BOX 5031, 2600 GA Delft, The Netherlands  Phone: +31-15-2783635
Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
Received on Mon Jan 14 07:23:23 2002

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:21 EDT