From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Smishlayev Date: Fri, 17 Jan 2014 16:41:23 +0200 Subject: [U-Boot] Compiling fw_printenv tool In-Reply-To: References: <52987228.9040604@xtech2.lv> <52988D88.5000806@xtech2.lv> <52D51EA3.4060702@xtech2.lv> Message-ID: <52D94113.9030300@xtech2.lv> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 2014.01.17. 16:30, Detlev Zundel wrote: > Hi Alexey, > > [...] > >> I've googled it and sorted it out. The problem was that executable was >> dynamically linked and the *.so was not found on the embedded >> system. I compiled it with -static and it runs. > I'm glad you solved the problem. I only like for such answers to show > up in archives so that other people can profit from the answer in > DuckDuckGo searches yet to come ;) > > Cheers > Detlev > In case someone needs that (before the Makefile changes are accepted), I used the make HOSTCC='arm-none-linuex-gnueabi-gcc -static' env command to get it working. Best regards, Alexey