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: Epics 7 on Mac M2 (arm64) |
From: | Heinz Junkes via Tech-talk <tech-talk at aps.anl.gov> |
To: | Han Lee <jeonglee at lbl.gov> |
Cc: | EPICS tech-talk <tech-talk at aps.anl.gov> |
Date: | Wed, 23 Aug 2023 14:19:52 +0200 |
Hi Han, Thanks for the quick reply. I can build epics-base with it and also the famous 'myExample" example with MakeBaseApp.pl -t example myExample. I use an additional small support lib: TOP=../.. include $(TOP)/configure/CONFIG #---------------------------------------- # ADD MACRO DEFINITIONS AFTER THIS LINE #============================= # Use typed rset structure (see 3.16.1 release notes) USR_CPPFLAGS += -DUSE_TYPED_RSET LIBRARY_IOC = rfcalc DBD += rfcalc.dbd rfcalc_SRCS += rfcalc.c rfcalc_SRCS += rftime.c rfcalc_LIBS += Com #=========================== include $(TOP)/configure/RULES #---------------------------------------- # ADD RULES AFTER THIS LINE And that looks like this in it, for example: static long init_record(waveformRecord* prec) { switch (prec->inp.type) { case CONSTANT: case PV_LINK: case DB_LINK: case CA_LINK: break; default: recGblRecordError(S_db_badField, (void *)prec, "devWfTimebase (init_record) Illegal INP field"); return S_db_badField; } if(prec->ftvl == menuFtypeSTRING || prec->ftvl==menuFtypeENUM){ recGblRecordError(S_db_badField, (void *)prec, "devWfTimebase (init_record) Illegal FTVL field"); return S_db_badField; } prec->dpvt=(void*)1; // indicate completion return 0; } Under RTEMS (T_A=RTEMS-beatnik) it can be built without problems. Heinz
|