Gareth Bransby G.C.Bransby-99@student.lboro.ac.uk wrote:
Now when i do ./configure I get the error :
configure: error: can not run test program while cross compiling
I understand why it can't run the test program but it never had a problem with the other cross-compiler. I tried giving it the --build=1686-linux along with the --host=arm-elf option so it would _know_ it was cross compiling but this made no difference.
Most likely, your 'new' cross compiler doesn't come with a full set of header files and there is a property of the target system which isn't known (and can't be found without running a test program).
First guess at solution: try making sure that sys/param.h exists in your new cross compiler environment, and that it correctly defines BIG_ENDIAN, LITTLE_ENDIAN and BYTE_ORDER.
(A quick description of what was wrong with the old cross compiler, and what is different about the new one, might be useful if you want any more help than this.... ).
Andre --
__________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com