
Use the UNIX command "file" on the output of the compiler. When I do this on u-boot I get:
# file u-boot u-boot: ELF 32-bit LSB executable, MIPS, version 1 (SYSV), statically linked, not stripped
This shows that it is a little-endian (LSB) executable for MIPS.
Ed Okerson
On Tue, 30 Dec 2003, Matthew S. McClintock wrote:
Does anyone know a good way to test to see if a cross compiler is working? I have what I believe to be a cross compiler for a mpc8540 cpu. However I am not sure if its working. I can compile u-boot with the compiler but that does not tell me much since u-boot does not support the board I am using specifically. I really don't want to go forward working on getting u-boot to run on this board only to find out of compiler is broken. Anyone have any ideas?
Thanks
-- Matthew S. McClintock mattsm@arlut.utexas.edu
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users