EPICS Controls Argonne National Laboratory

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: Cannot execute application on ARM target
From: 刘佳 via Tech-talk <[email protected]>
To: [email protected]
Date: Fri, 11 Jan 2019 10:59:44 +0800 (GMT+08:00)
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 

########################################################
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: Cannot execute application on ARM target Williams Jr., Ernest L. via Tech-talk

Navigate by Date:
Prev: Re: AreaDetector R3-4 module build error David Vine via Tech-talk
Next: Re: Cannot execute application on ARM target Williams Jr., Ernest L. 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: Re: Find a PV by name within a jython Script Mazanec Tomáš via Tech-talk
Next: Re: Cannot execute application on ARM target Williams Jr., Ernest L. 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 
ANJ, 14 Jan 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·