On Sat, 13 Nov 1999 04:34:46 -0600 (CST), Vasant Ramasubramanian wrote:
> This may have been covered elsewhere, but if I wish to cross-compile a
> program, is there any "clean" way of doing so? (Compile an ARM Linux
> program on my x86 PII which has been setup with the cross-compilers).
> 
> I can directly invoke arm-linux-gcc on my PC which produces programs that
> I can transfer to / run on the ARM target[Brutus]. However, if a program
> uses a configure script is there a prefered way of telling it that my
> target is an ARM platform? (If so what do I tell it for the platform
> type?). 

Assumed that you build on i[3456]86-linux, use:

  setenv CC arm-linux-gcc
  ./configure --target=arm-unknown-linux-gnu --host=i386-unknown-linux

Try "./configure --help" for more options.



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