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  2019  2020  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  2019  2020  2021  2022  2023  <2024
<== Date ==> <== Thread ==>

Subject: Re: Question about cross compile of epics
From: Han Lee via Tech-talk <tech-talk at aps.anl.gov>
To: 문석호 <msh3069 at gmail.com>
Cc: tech-talk at aps.anl.gov
Date: Tue, 2 Jan 2024 23:28:01 -0800
Hi SeokHo,

If the default configuration doesn't work, I guess that you should get and set up the Cross Compiler tools or toolchain to be compatible with your "embedded Linux."

Then, you should build your own OS configuration file to use your own environment. Here are very old examples that may give hints to you.

Best,
Han



On Thu, Dec 28, 2023 at 6:03 AM 문석호 via Tech-talk <tech-talk at aps.anl.gov> wrote:
Hello epics users,

These days I try to do the cross compile from linux x86 to linux-arm. My host computer uses ubuntu system but the target device use the arm architecture so I try to do the cross compile. 
I used epics in usual x86 system or rasberrypi but I have not used the cross compile in epics. Therefore, I can not imagine the sequence of the cross compile in epics. 

If I want to use the cross compile at epics, should I do the cross compile for the epics-base and other supporting modules like asyn, sequencer, autosave, and etc? 

If that is right, I also face some other problem in epics-base compile. It compiled well but it face some problem when I give cross compile option. 
At first I set the "CROSS_COMPILER_TARGET_ARCHS=linux-arm" at /configure/CONFIG_SITE and type  "export CROSS_COMPILE=arm-linux-gnueabihf-", "export ARCH=arm" to do make. 
However, it says they can not found 'arm-xilinx-linux-gnueabi-gcc'. I installed the  'arm-linux-gnueabihf' because I heard that the target device has hard float. Does the error comes out because of some path? or is there any setting, I should do? 

Best Regards
SeokHo Moon



--
Jeong Han Lee, Dr.rer.nat.
Staff Scientist and Engineer
Cell: +1 510 384 3868

Navigate by Date:
Prev: Re: LabCA for MATLAB Installation error Michael Davidsaver via Tech-talk
Next: Re: Question about cross compile of epics NICOLE Remi 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  2019  2020  2021  2022  2023  <2024
Navigate by Thread:
Prev: Re: LabCA for MATLAB Installation error Michael Davidsaver via Tech-talk
Next: Re: Question about cross compile of epics NICOLE Remi 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  2019  2020  2021  2022  2023  <2024
ANJ, 09 Jan 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·