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

Subject: Re: Static Linking...
From: David Dudley <[email protected]>
To: <[email protected]>
Date: Thu, 21 Jul 2011 15:25:30 -0400
Actually, that's more what I was looking for, I think.

The idea is not to have a lot of dynamic libraries that have to be installed
on the machine that the IOC is installed on.

David


On 7/21/11 3:21 PM, "Andrew Johnson" <[email protected]> wrote:

> Hi David,
> 
> On 2011-07-21 Eric Norum wrote:
>> The latter -- there's no way to static link (well, no *easy* way) on OS X.
>> 
>> On Jul 21, 2011, at 11:25 AM, David Dudley wrote:
>>> I seem to have discovered a problem on a MAC darwin-x86 where I can¹t
>>> static link programs.
>>> 
>>> Whenever I try to set STATIC_BUILD=YES in the CONFIG_SITE file, and do a
>>> clean rebuild, it fails when it¹s trying to link antelope, saying that it
>>> can¹t find the crt0.0 library.
> 
> That's the C run-time library, which Apple only provide as a dynamically-
> linked library.
> 
> You should however be able to set SHARED_LIBRARIES=NO instead, and in your
> Base top directory do a 'make distclean' to remove all of the old .dylib files
> before you rebuild Base again.  That will statically link in all of the EPICS
> libraries into the binaries it builds, but will still dynamically link the
> system libraries and thus overcome the above problem.
> 
> HTH,
> 
> - Andrew

David

-- 
"... The Crossbow Project. There's No Defense Like a Good Offense. " - Real
Genius (1985)

Don't think it exists?  Google the Air Force X-37B project.



References:
Re: Static Linking... Andrew Johnson

Navigate by Date:
Prev: Re: Static Linking... Andrew Johnson
Next: color PV in edm Text Monitor Pierrick Hanlet
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Static Linking... Andrew Johnson
Next: Re: Static Linking... J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·