arm-elf cross compiler

Aaron J. Grier aaron@frye.com
Tue May 7 16:03:00 GMT 2002


On Tue, May 07, 2002 at 11:26:33PM +0100, Gareth wrote:

> The problems start when i try to compile more complex programs that
> need their configure script to be run. configure fails with :
> 
> 	configure: error: can not run test program while cross compiling
> 
> I understand why it can't run test programs, and i have gathered that
> there should be some header files that define things like endian-ness.
> Do these come with newlib or gcc? Do i have to set them up myself?

you have a couple options:

1) whine loudly at the maintainer that his/her autotools scripts don't
   support cross-compiling

2) become an autotools guru and fix it yourself

> Maby i have missed something during the compiler build process?

the compiler is fine.  welcome to autotools (autoconf, automake, and
friends) hell.  :)

-- 
  Aaron J. Grier  |   Frye Electronics, Tigard, OR   |  aaron@frye.com

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list