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: Porting EPICS to NetBSD |
From: | Eric Norum <[email protected]> |
To: | David Dudley <[email protected]> |
Cc: | [email protected] |
Date: | Wed, 16 Aug 2006 13:20:24 -0500 |
On Aug 15, 2006, at 11:08 AM, David Dudley wrote:
Having said that, though, I would expect that rebuilding EPICS base on NetBSD would be very little different than building it on Linux or Mac OS X. As a quick first check you could just set the EPICS_HOST_ARCH environment variable to linux-x86 and then run 'make' in the top directory of the EPICS base distribution. The Mac OS X version of EPICS has only four files different than the Linux version. In fact, the OS X versions of these files might be all you'd need. To add support for a new architecture you need to: 1) Create a new directory in src/libCom/osi/os to hold your architecture-specific files. 2) Go into the configure/os directory and add configuration files for your architecture. Again, you might want to start with the three OS X files: CONFIG.Common.darwin-ppcx86, CONFIG_SITE.darwin-ppcx86.Common and CONFIG.darwin-ppcx86.Common. 3) Set the EPICS_HOST_ARCH environment variable to match the names you gave to the configuration files. -- Eric Norum <[email protected]> Advanced Photon Source Argonne National Laboratory (630) 252-4793 |