Hi Alexey, > Dear Detlev, > > I ran > $ make HOSTCC=arm-none-linux-gnueabi-gcc env > and got the tools/env/fw_printenv executable. But the Make command > returned error: > strip: Unable to recognise the format of the input file `fw_printenv' > make[1]: *** [fw_printenv] Error 1 > > I guess, HOSTSTRIP variable also has to be set. > > However, I uploaded the unstripped executable to my embedded device, > and ran: > $ chmod a+x fw_printenv > $ ./fw_printenv > -sh: ./fw_printenv: not found > > I tried also manually stripping the executable. > What could be this error related to?
Oops, I really missed that mail, sorry. This error message means that your cross-compiled binary does not run on the embedded device (maybe the device uses different libraries than your cross toolchain links agains). To troubleshoot that, start with a regular "hello-world.c" and continue to fw_printenv only if you have this working. Cheers Detlev -- The C++ STL, with its dyslexia-inducing syntax blizzard of colons and angle brackets, guarantees that if you try to declare any reasonable data structure, your first seven attempts will result in compiler errors of Wagnerian fierce- ness. -- James Mickens -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot