public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Compiling fw_printenv tool
@ 2013-11-29 10:53 Alexey Smishlayev
  2013-11-29 11:17 ` Detlev Zundel
  0 siblings, 1 reply; 12+ messages in thread
From: Alexey Smishlayev @ 2013-11-29 10:53 UTC (permalink / raw)
  To: u-boot

Hello!

I'm trying to compile fw_printenv, to work with U-Boot environment 
variables under my linux os. I'm using commands:
$ cd u-boot/
$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- env

The tool compiles successfully, I get the executable under 
u-boot/tools/env/fw_printenv, but it seem to be compiled for my host 
machine.
On my device it says:
# ./fw_printenv: line 1: syntax error: "(" unexpected

How do I cross compile it for my embedded system? Do I just set the 
HOSTCC environment variable in the Makefile?

Best regards,
Alexey Smishlayev

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-01-17 16:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-29 10:53 [U-Boot] Compiling fw_printenv tool Alexey Smishlayev
2013-11-29 11:17 ` Detlev Zundel
2013-11-29 12:50   ` Alexey Smishlayev
2014-01-14 10:54     ` Detlev Zundel
2014-01-14 11:25       ` Alexey Smishlayev
2014-01-17 14:30         ` Detlev Zundel
2014-01-17 14:41           ` Alexey Smishlayev
2014-01-17 16:02             ` Detlev Zundel
2014-01-14 11:47       ` Masahiro Yamada
2014-01-15 14:50         ` Gerhard Sittig
2014-01-17 14:38           ` Detlev Zundel
2014-01-17 14:28         ` Detlev Zundel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox