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

Subject: RE: Using the EPICS Build/Make system to build kernel modules for linux
From: "Williams Jr., Ernest L." <[email protected]>
To: Jameson Graef Rollins <[email protected]>, "[email protected]" <[email protected]>
Date: Wed, 25 Feb 2015 02:28:47 +0000
________________________________________
From: Jameson Graef Rollins [[email protected]]
Sent: Tuesday, February 24, 2015 9:43 AM
To: Williams Jr., Ernest L.; [email protected]
Subject: RE: Using the EPICS Build/Make system to build kernel modules for      linux

>> As I begin this task; maybe someone else has already done it :)
>>
>> We typically have kernel module source from hardware vendors that we recompile for our target architectures
>>
>> In my case, I have the following architectures:
>>
>> (1) linux-x86                         (RHEL6 32-bit)
>> (2) linux-x86_64                 (RHEL6  64-bit)
>> (3) linuxRT-x86                    (32-bit linux w/realtime patch and ucLibc)
>> (4) linuxRT-x86_64            (64-bit linux w/realtime patch and ucLibc)
>> (5) linuxRT_glibc-x86_64  (64-bit linux w/realtime patch and gLibc)
>>
>>
>> I would like to hi-jack the EPICS Make system framework to build kernel modules.
>
> I'm so sorry, but I feel compelled to speak out that the EPICS build
> system is one of the more obscure, convoluted, and unfriendly to work
> with as I have seen.  It makes packaging EPICS and related software
> extremely difficult.  I would strongly advise against using it as a
> prototype for other projects.
>
> ======================================
>
> What are you using now?
>
> And what do you propose?

==================================================================
I probably should have kept my mouth shut, since I don't actually know
what you're looking for, nor do I have any good suggestions for
alternatives.  That said, my packaging experience leads me to strongly
prefer build systems that work in "standard" ways, and don't for
instance require in-tree builds for linking applications, which EPICS
currently requires (modulo the packaging ninjitsu accomplished by the
EPICS Debian packagers).

Thanks, Jamie.
Based on all of the feedback, I will use a different technique to build kernel modules for multiple architectures outside of EPICS.
However, for my user space libraries I will stay with the EPICS Make system as it is very convenient and points nicely to my cross-compilers (i.e Tool Chains)


Cheers,
Ernest



jamie.


References:
Using the EPICS Build/Make system to build kernel modules for linux Williams Jr., Ernest L.
Re: Using the EPICS Build/Make system to build kernel modules for linux Jameson Graef Rollins
RE: Using the EPICS Build/Make system to build kernel modules for linux Williams Jr., Ernest L.
RE: Using the EPICS Build/Make system to build kernel modules for linux Jameson Graef Rollins

Navigate by Date:
Prev: Re: Using the EPICS Build/Make system to build kernel modules for linux J. Lewis Muir
Next: RE: Begginer with EPICSv4 Ricardo Herrero
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Using the EPICS Build/Make system to build kernel modules for linux J. Lewis Muir
Next: Re: Using the EPICS Build/Make system to build kernel modules for linux Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·