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  <20102011  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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Cross-compilation missing library
From: Andrew Johnson <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Tue, 16 Nov 2010 18:55:45 -0500
On Tuesday 16 November 2010 17:35:18 [email protected] wrote:
>
> Are you saying:
> (1) I don't need flex
> or (2) that I should never install additional libraries in my crosstool?

(1) - you don't need an external flex compiler or library to build or run the 
standard EPICS tools.

> My question is now just about working with crosstool chain, and not about
> flex in particular.

That depends on the particular cross-tool setup that you're using, and I'm not 
going to be able to help you very much there I'm afraid.

> We agree that epics itself should be build with arm arch to build arm iocs.
> So I need to have the epics arm libs on my system before compiling the
> iocs. Well, for epics that's easy since we build from source and epics has
> only 'standard_c_lib' dependencies. Now what about non-standard libs (like
> flex ;), which I could yum/apt-get. Do I need to compile them from source
> against the crosstool? And what about the dependencies of the dependencies
> ?

You're outside my range of expertise there.  If you're using a Debian-derived 
Linux and tool-chain or similar that provides those libs pre-built for ARM 
then you should be able to fetch and install them using the standard tools, 
but that's outside the realm of the EPICS developers.

> For example, how to compile medm/edm for arm since I need the correct arch
> GUI libs? Could a dynamic build save the day? Just dreaming ...

If you're wanting to run MEDM or EDM on an ARM system you might be better off 
getting an ARM-based development host and dropping the cross-build idea.  I'm 
not saying that a cross-build of the extensions tools is impossible (although 
I don't know anyone who's tried it), but native compilation is generally much 
simpler.

- Andrew
-- 
If a man is offered a fact which goes against his instincts, he will
scrutinize it closely, and unless the evidence is overwhelming, he will
refuse to believe it.  If, on the other hand, he is offered something
which affords a reason for acting in accordance to his instincts, he
will accept it even on the slightest evidence.  -- Bertrand Russell


Replies:
Re: Cross-compilation missing library emmanuel_mayssat
References:
Cross-compilation missing library emmanuel_mayssat
Re: Cross-compilation missing library Andrew Johnson
Re: Cross-compilation missing library emmanuel_mayssat

Navigate by Date:
Prev: Re: Cross-compilation missing library emmanuel_mayssat
Next: How to shutdown/restart a soft-ioc from a (watchdog) record Burkhard Kolb
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Cross-compilation missing library emmanuel_mayssat
Next: Re: Cross-compilation missing library emmanuel_mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 19 Nov 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·