EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Cannot execute application on ARM target
From: "Williams Jr., Ernest L. via Tech-talk" <[email protected]>
To: 刘佳 <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Fri, 11 Jan 2019 15:52:15 +0000





From: [email protected] <[email protected]> on behalf of 刘佳 via Tech-talk <[email protected]>
Sent: Thursday, January 10, 2019 6:59 PM
To: [email protected]
Subject: Cannot execute application on ARM target
 
Hi,
I am trying to build EPICS application on ARM target, and the cross compiling on host have no error,
but the IOC on the target cannot execute:
    -bash: ./armexample: No such file or directory 

============================================================================================
[Ernest]:
If you are building  your IOC application via the EPICS Templates, then executable is found here by default:
<TOP>/bin/<T_A>/armexample

For example, I built and application called "Jupiter" for a linux target:
<TOP>/bin/rhel6-x86_64/Jupiter

Please provide more information such as did you first create a skeleton for you app with:
makeBaseApp.pl -t example
============================================================================================


########################################################
my configuration as following:
    HOST: Ubuntu 14.04 (on VMware)
    TARGET: Exynos4412
    BASE: base-3.14.12.5
    GCC: arm-none-linux-gnueabi-gcc-4.4.1

the cross compiling configuration is:   
    configure/CONFIG_SITE:
        CROSS_COMPILER_TARGET_ARCHS=linux-arm
        CROSS_COMPILER_HOST_ARCHS=linux-x86
        SHARED_LIBRARIES=NO
        STATIC_BUILD=YES
    configure/os/CONFIG_SITE.Common.linux-arm:
        #COMMANDLINE_LIBRARY = READLINE
    configure/os/CONFIG_SITE.linux-x86.linux-arm:
        GNU_DIR = /opt/armtoolchain/arm-2009q3
        GNU_TARGET = arm-none-linux-gnueabi
########################################################

the .bashrc configuration is:
    export EPICS_HOST_ARCH=linux-x86 
    export EPICS_BASE=/home/control/epics/base-3.14.12.5
    export LD_LIBRARY_PATH=/opt/armtoolchain/arm-2009q3/lib:$EPICS_BASE/lib/linux-arm

I am still getting the error message on target, Please solve my above query. 

Thanks 
Jia LIU




Replies:
Re: Re: Cannot execute application on ARM target 刘佳 via Tech-talk
References:
Cannot execute application on ARM target 刘佳 via Tech-talk

Navigate by Date:
Prev: Cannot execute application on ARM target 刘佳 via Tech-talk
Next: Stanford Research Drivers Daniel Cuneo via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Cannot execute application on ARM target 刘佳 via Tech-talk
Next: Re: Re: Cannot execute application on ARM target 刘佳 via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024