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 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
<== Date ==> <== Thread ==>

Subject: Re: Crosscompiling EPICS for ARM Arch - zedboard : Error
From: Shuei YAMADA <shuei.yamada@gmail.com>
To: 윤대희 <boomydh@imcu.co.kr>
Cc: 김상균 소장님 <yuri@imcu.co.kr>, tech-talk@aps.anl.gov
Date: Thu, 2 Nov 2017 22:05:42 +0900
Hi,

It seems that your definition of GNU_DIR is not correct. The EPICS
build system searches for the cross-compiler in
${GNU_DIR}/bin/${GNU_TARGET}-gcc  , etc.

In my case (I'm using Xilinx SDK 2013.4) it should be
GNU_DIR = /opt/Xilinx/SDK/2013.4/gnu/arm/lin

Hope this helps.
Shuei YAMADA


2017-11-01 16:48 GMT+09:00 윤대희 <boomydh@imcu.co.kr>:
> Hi.
>
> I am attempting to build EPICS into Zedboard.
>
> So I go through Tech-talk Messages.
>
> I discover this recipe.
>
> http://www.aps.anl.gov/epics/tech-talk/2016/msg00629.php
>
>
>
> I attempt to cross-compile
>
> First > gedit ~/.bashrc > export EPICS_BASE=/home/xilinx/epics/base
>
> export EPICS_HOST_ARCH=linux-x86_64
>
> export LANG=C
>
>
>
> second > base.x.x.x/configure/CONFIG_SITE > CROSS_COMPILER_TARGET_ARCHS =
> linux-arm
>
>
> CROSS_COMPILER_HOST_ARCHS=linux-x86_64
>
>
>
> Third > base.x.x.x/configure/os/CONFIG_SITE.Common.linux-x86_64 >
> #COMMANDLINE_LIBRARY = READLINE
>
>
>
> Fourth > base.x.x.x/configure/os/CONFIG_SITE.linux-x86_64.linux-arm >
> GNU_DIR = /usr
>
>
> GNU_TARGET = arm-linux-gnueabi
>
> Fifth > apt-get install libreadline6 libreadline6-dev gcc-arm-linux-gnueabi
>
>
>
> Sixth > make
>
>
>
> But It stops asLib.o
>
> Error below.
>
>
>
> clude/compiler/gcc -I../../../include/os/Linux -I../../../include
> -I/usr/local/vw/zynq-2011.09/arm-xilinx-linux-gnueabi/include -c asLib.c
>
> make[3]: /usr/local/vw/zynq-2011.09/bin/arm-xilinx-linux-gnueabi-gcc:
> Command not found
>
> ../../../configure/RULES_BUILD:229: recipe for target 'asLib.o' failed
>
> make[3]: *** [asLib.o] Error 127
>
> make[3]: Leaving directory '/home/xilinx/epics/base/src/libCom/O.linux-arm'
>
> ../../configure/RULES_ARCHS:58: recipe for target 'install.linux-arm' failed
>
> make[2]: *** [install.linux-arm] Error 2
>
> make[2]: Leaving directory '/home/xilinx/epics/base/src/libCom'
>
> ../configure/RULES_DIRS:84: recipe for target 'libCom.install' failed
>
> make[1]: *** [libCom.install] Error 2
>
> make[1]: Leaving directory '/home/xilinx/epics/base/src'
>
> configure/RULES_DIRS:84: recipe for target 'src.install' failed
>
> make: *** [src.install] Error 2
>
>
>
> I do not understand where this route came from
> “/usr/local/vw/zynq-2011.09/bin/arm-xilinx-linux-gnueabi-gcc”.
>
>
>
> How can I build successfully?
>
>
>
> Thank you.
>
>
>
> Dae Hee, Yoon


${GNU_DIR}/bin/${GNU_TARGET}-gcc  and/or
-- 
                 ----------------------------------------------------
                 Shuei Yamada,
                 High Energy Accelerator Research Organization (KEK)
                 mailto:shuei@post.kek.jp
                 ----------------------------------------------------

References:
Crosscompiling EPICS for ARM Arch - zedboard : Error 윤대희

Navigate by Date:
Prev: Re: concurrent put callbacks Mark Rivers
Next: Re: concurrent put callbacks Mooney, Tim M.
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
Navigate by Thread:
Prev: Crosscompiling EPICS for ARM Arch - zedboard : Error 윤대희
Next: Data Conversion from CSS RDB Archiver to Archiver Appliance Abdalla Ahmad
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
ANJ, 02 Nov 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·