Compare commits

..

301 Commits

Author SHA1 Message Date
Andrew Johnson
25d861b724 Removed release date, less work to do at the last minute... 2005-11-30 22:29:06 +00:00
Janet B. Anderson
e93f9fd86e Updated path rewriting rules for various OSs. 2005-11-30 21:46:13 +00:00
Janet B. Anderson
f8527e3303 WIN32 directory specification changes. 2005-11-29 22:46:57 +00:00
Janet B. Anderson
cd1d5b3b41 Added override comments for Visual C++ 8.0 or 8.0 express. 2005-11-29 22:45:28 +00:00
Janet B. Anderson
251e628df3 Modified comment. 2005-11-29 22:44:41 +00:00
Janet B. Anderson
ccec1cf8c7 Bug fix for Borland obj installs (all lower case) installs. 2005-11-29 22:44:05 +00:00
Jeff Hill
1d977970a4 fixed spelling 2005-11-29 18:42:34 +00:00
Jeff Hill
f41d1276c3 updated for R3.14.8 2005-11-29 18:34:09 +00:00
Jeff Hill
5d31c721ad fixed msvc++ 8 assert failure.
I had a closer look at the MS and the POSIX doc. It appears that
there is confusion between the two related to how the arguments
are interpreted when the user buffer pointer is null. In the POSIX
doc it clearly states that the count only applies if the user pointer
isn't nill. In the MS doc it clearly states that the count is also the
size of the internally allocated buffer when the user pointer is nill.

It seems that a reasonable compromise will be to specify a buffer
size of BUFSIZ (defined by POSIX and fortunately also by windows).
2005-11-29 17:05:00 +00:00
Janet B. Anderson
8bc5eba28a Visual C++ 2005 changes: lnstall manifest files, clean *.manifest *.exp. 2005-11-29 15:30:23 +00:00
Marty Kraimer
f0b807ecb3 make tags match 2005-11-28 13:22:10 +00:00
Marty Kraimer
7907d9ef66 added notes for Mantis bug fixes for 225,184 2005-11-28 13:20:24 +00:00
Janet B. Anderson
2b43654f35 R3.14.8 2005-11-23 15:33:51 +00:00
Andrew Johnson
9f890d90b4 Added things we know about at release time. 2005-11-22 21:57:16 +00:00
Janet B. Anderson
f4a06313db Removed TD options in call to _fdopen for VISUAL C++ 2005. 2005-11-22 21:52:29 +00:00
Andrew Johnson
dbbb7eb613 Version number and release date set. 2005-11-22 20:59:05 +00:00
Jeff Hill
7c73c4eff9 updated for R3.14.8 2005-11-22 15:43:40 +00:00
Janet B. Anderson
699b3b5d48 Added new host targets info. 2005-11-22 15:06:02 +00:00
Marty Kraimer
2ad879e1d1 simplify output 2005-11-22 13:45:28 +00:00
Jeff Hill
036243c9a2 made win32 stdcall consistent 2005-11-22 00:28:17 +00:00
Jeff Hill
363199adfa fixed bug occurring when interfacing with EPICS 3.11 2005-11-22 00:11:16 +00:00
Janet B. Anderson
37416777e8 Initial version. 2005-11-21 22:19:51 +00:00
Marty Kraimer
33865495c9 better checking for pthread_create 2005-11-21 21:21:12 +00:00
Marty Kraimer
533e99d33c From Benjamin Franksen 2005-11-21 21:17:15 +00:00
cvs2svn
bc0a097c18 This commit was manufactured by cvs2svn to create branch 'B3.14'. 2005-11-21 21:17:14 +00:00
Jeff Hill
cd000c5aff updated for R3.14.8 2005-11-21 20:55:12 +00:00
Janet B. Anderson
a22f10e0fa Added new host and cross targets. Updated source tree size. 2005-11-21 20:33:43 +00:00
Marty Kraimer
472512d0a2 epicsThreadMustCreate instead of epicsThreadCreate 2005-11-21 19:33:44 +00:00
Marty Kraimer
92f32f3c21 new test 2005-11-21 19:09:20 +00:00
Jeff Hill
9cf2c3fd1f renamed README.win32 to readme.MS_Windows 2005-11-21 17:50:05 +00:00
Jeff Hill
4a02edc7ca updated to match R3.14.8 2005-11-21 17:45:43 +00:00
Janet B. Anderson
69d80affb5 Updated comments defining host and cross targets. 2005-11-21 17:14:29 +00:00
Marty Kraimer
7da2de16dc Fix memory leak for priority scheduling 2005-11-21 14:17:49 +00:00
Ralph Lange
f0a18144aa SHRLIB_SEARCH_DIRS -> SHRLIB_SEARCH_FULLPATHDIRS (reflecting changes in the build system) 2005-11-21 09:52:38 +00:00
Ralph Lange
61776f958e += -mt (multithreading) flag for the standard C compiler 2005-11-21 09:30:48 +00:00
Jeff Hill
543a723851 SOCKET_SHUTDOWN_WRITE_SIDE #define no longer required 2005-11-18 23:51:34 +00:00
Jeff Hill
d53b80a61a GNU compile rrequires LL suffix on constants, borland requires no suffix 2005-11-18 00:14:40 +00:00
Andrew Johnson
8230f4b189 Set pthreadInfo->isEpicsThread in the epicsThreadCreate() retry.
This code still has a memory leak if pthread_create() returns EPERM,
which only happens on SMP Linux systems.
2005-11-17 23:15:51 +00:00
Andrew Johnson
0da934250f Leave PACT true if INP/OUT put fails. 2005-11-17 19:16:22 +00:00
Marty Kraimer
50052570e9 run test as thread 2005-11-17 15:55:15 +00:00
Marty Kraimer
f0fbae7d18 calling ca_context_destroy causes crash 2005-11-17 13:42:55 +00:00
Andrew Johnson
f0a579cca3 DSXT Bug: Don't call dsxt->del_record() more than once if there's a failure. 2005-11-16 23:37:33 +00:00
Andrew Johnson
b3092b70ec s/unistd.h/osiUnistd.h/ 2005-11-16 17:24:19 +00:00
Marty Kraimer
40f225ce87 add test for epicsThreadSetPriority 2005-11-16 14:12:43 +00:00
Marty Kraimer
48005bf4ca illegal to change priority for non-epics thread 2005-11-16 14:07:56 +00:00
Andrew Johnson
518ab0c64c Simulation mode patches from Peter Denison (Diamond) 2005-11-15 23:35:34 +00:00
Janet B. Anderson
b17ad0400d Removed chomp of $TOP because cygpath may not be in users`s path. 2005-11-15 22:46:09 +00:00
Janet B. Anderson
059b34c626 Override -DUNIX from CONFIG.Common.UnixCommon. Added readline defines. 2005-11-15 22:22:27 +00:00
Janet B. Anderson
61ff3b1acb Remove references to READLINE as COMANDLINE_LIBRARY. 2005-11-15 22:13:37 +00:00
Andrew Johnson
f0d4c3505f Don't cast to int to subtract pointers. 2005-11-15 22:02:44 +00:00
Andrew Johnson
1277b2aa2f Include unistd.h to remove warning. 2005-11-15 21:53:14 +00:00
Andrew Johnson
2d83858ed1 Wording improvement. 2005-11-15 21:19:44 +00:00
Jeff Hill
8ba5e2fd1c clarrified return from ca_poll, ca_pend_event 2005-11-15 20:22:28 +00:00
Andrew Johnson
cbaea39950 Reduce number of gcc warnings from generated files. 2005-11-15 20:17:59 +00:00
Marty Kraimer
990a0b3ed1 more changes for epicsAtExit handler 2005-11-15 13:15:31 +00:00
Jeff Hill
171977d01f added ca_context_detach 2005-11-14 23:28:09 +00:00
Jeff Hill
05a2ab2893 better sleep quantum estimate 2005-11-14 23:22:16 +00:00
Janet B. Anderson
59d687e021 Dont use READLINE as default comandline library. 2005-11-14 22:35:28 +00:00
Janet B. Anderson
d0bfaba4ed Changed commandline library to READLINE and put cygwin/bin in user's path. 2005-11-14 22:21:35 +00:00
Janet B. Anderson
36db07ab3c Removed the defines which are predefined by compiler. 2005-11-14 22:16:13 +00:00
Janet B. Anderson
dd0eecdc91 Modified comments. 2005-11-14 22:09:32 +00:00
Marty Kraimer
0809007858 add epicsAtExit handler 2005-11-14 20:12:23 +00:00
Marty Kraimer
560bb0fb35 check for ERROR not for 0 2005-11-14 20:05:21 +00:00
Janet B. Anderson
04ae05f13c Fixed comment. 2005-11-14 17:39:15 +00:00
Janet B. Anderson
741e9dcce6 Changed line order and added comment. 2005-11-14 17:37:27 +00:00
Janet B. Anderson
395401711b Set WIND_HOST_TYPE to x86-linux_64. 2005-11-14 17:12:13 +00:00
Jeff Hill
4613bc7d0a net bsd challenged os dont have INADDR_NONE 2005-11-14 17:06:49 +00:00
Jeff Hill
fbc257c9a2 standards unconformant C++ compilers (such as msvs 6.0) dont like
two for loops with the same varaible name in the same scope
2005-11-14 16:29:48 +00:00
Jeff Hill
f01f981e54 standards unconformant C++ compilers (such as msvs 6.0) dont like
a std:: in front of the cal to unexpected()
2005-11-14 16:18:06 +00:00
Jeff Hill
29d179401f standards unconformant C++ compilers (such as msvs 6.0) dont like
two for loops with the same varaible name in the same scope
2005-11-14 16:16:55 +00:00
Jeff Hill
343ecd29e8 removed return of void from void function which makes standards incompliant
compiler bark
2005-11-14 16:14:07 +00:00
Jeff Hill
72d92451a6 removed space in front of #else 2005-11-14 16:12:57 +00:00
Jeff Hill
f85fa7e105 support mingw 2005-11-11 01:48:59 +00:00
Jeff Hill
87dbfb1165 no need to define _x86_ and _win32 for mingw cpp 2005-11-11 01:44:04 +00:00
Jeff Hill
f4aa9c2e33 fix for mantis 153 2005-11-09 23:55:15 +00:00
Jeff Hill
a6957a6ec1 fixed some potential cleanup problems when there is insufficent
memory to finish creating a new client
2005-11-09 01:20:35 +00:00
Jeff Hill
e268286f83 less cpu intensive for soft float cpus 2005-11-08 22:46:31 +00:00
Jeff Hill
e7e46f07f5 less cpu intensive for soft float cpus 2005-11-08 22:41:31 +00:00
Jeff Hill
6f6f1d22cd better fix for mantis 111 2005-11-08 21:25:23 +00:00
Jeff Hill
d50d793467 instantiate server 2005-11-08 16:18:57 +00:00
Ralph Lange
c24db105b8 Clarified output message for one of the tests. 2005-11-08 13:57:17 +00:00
Jeff Hill
f4acd859cc INADD_NONE:<repeater port> based UDP "disconnect" 2005-11-07 17:35:39 +00:00
Jeff Hill
77a023dc39 INADD_NONE:<repeater port> based UDP "disconnect" 2005-11-07 17:11:35 +00:00
Jeff Hill
4fee01b0c7 try INADD_NONE:0 based UDP "disconnect" on various OS 2005-11-07 17:02:20 +00:00
Jeff Hill
3dfe7043ba try INADD_NONE based UDP "disconnect" on various OS 2005-11-07 16:53:35 +00:00
Janet B. Anderson
c16fa4bb78 Added compile and link flags. 2005-11-04 21:07:56 +00:00
Janet B. Anderson
1def6257f3 Override linking with gcc library. 2005-11-04 21:06:06 +00:00
Ralph Lange
1b9ff04b8f Fixed fixes for HP-UX. 2005-11-04 16:00:15 +00:00
Ralph Lange
892f8581b1 Fixed fixes for HP-UX. 2005-11-04 15:54:34 +00:00
Ralph Lange
6820307b60 Fixed warnings for HP-UX. 2005-11-04 15:28:12 +00:00
Ralph Lange
879d1a95bb Fixed warnings for HP-UX. 2005-11-04 14:51:16 +00:00
Ralph Lange
aa84e0a6b0 Fixed warnings for HP-UX. 2005-11-04 14:37:02 +00:00
Ralph Lange
22be6c91e1 Fixed warnings for HP-UX. 2005-11-04 14:20:12 +00:00
Ralph Lange
81df05f19d Updated DST info (for 2006). 2005-11-04 11:44:37 +00:00
Jeff Hill
15cdbfdc8c oops c++ comment in c code 2005-11-03 22:27:04 +00:00
Jeff Hill
5881fc0cfc UDP disconnect to INADDR_LOOPBACK and port 0 because
a UDP connect to AF_UNSPEC only works with modern IP kernel
2005-11-03 22:23:09 +00:00
Janet B. Anderson
63a7e4c72a Initial version. 2005-11-03 20:53:08 +00:00
Janet B. Anderson
604a957bb2 Removed references to TEMPLATE_LINKS. 2005-11-03 16:14:38 +00:00
Jeff Hill
86bc39d824 some progress, more to go 2005-11-01 23:44:51 +00:00
Janet B. Anderson
147270e1fb Fixed errors and typos. 2005-11-01 22:34:13 +00:00
Jeff Hill
422fd9ebd0 use connect to AF_UNSPEC to not allow incomming messages to beacon sock 2005-11-01 20:55:33 +00:00
Janet B. Anderson
d99f868f54 Initial version. 2005-11-01 20:44:15 +00:00
Janet B. Anderson
ef2c8aa973 Added code for linux-x86_64. 2005-11-01 17:26:50 +00:00
Jeff Hill
16caaa4a27 spelling in comment 2005-11-01 16:05:53 +00:00
Jeff Hill
e7aef148f9 fixed warnings on 64 bit architectures 2005-11-01 15:59:05 +00:00
Janet B. Anderson
42f9019c87 Updated files. 2005-11-01 15:34:54 +00:00
Janet B. Anderson
acd7739098 Initial version. 2005-11-01 15:33:32 +00:00
Janet B. Anderson
48fe59aefd Removed posix flags. 2005-10-31 22:36:43 +00:00
Janet B. Anderson
f30a9bf3b4 Removed unused COMMON_TEMPLATES dependancy. 2005-10-31 22:34:34 +00:00
Jeff Hill
6c69138be0 dont pass time stamp to receive watchdog notify 2005-10-31 22:24:38 +00:00
Jeff Hill
c9f43cf50a fix for mantis 111: force recv thread to run first when both receive watchdog
and receive thread are blocking for the preeemptive callback control lock
2005-10-31 22:24:02 +00:00
Jeff Hill
9b146c4de4 fix for mantis 111: force recv thread to run first when both receive watchdog
and receive thread are blocking for the preeemptive callback control lock

I also added a guard in a place that appeared to be not  adaquately
protected.
2005-10-31 22:22:58 +00:00
Jeff Hill
04eaa04246 dont pass time stamp to send timeout notify 2005-10-31 22:22:10 +00:00
Jeff Hill
028ef0c788 dont pass time stamp to probe response notify 2005-10-31 22:20:26 +00:00
Jeff Hill
e0fd23462d dont pass time stamp to beacon notify 2005-10-31 22:19:59 +00:00
Jeff Hill
df16e0238a fix for mantis 111: force recv thread to run first when both receive watchdog
and receive thread are blocking for the preeemptive callback control lock

I also added a guard in a place that appeared to be not  adaquately
protected.
2005-10-31 21:57:14 +00:00
Jeff Hill
4fda53615a added comment 2005-10-31 21:53:36 +00:00
Andrew Johnson
12727edb36 Extended Device Support interface. 2005-10-31 20:54:10 +00:00
Janet B. Anderson
109db70d32 Use EPICS commandline editing. 2005-10-31 19:14:24 +00:00
Marty Kraimer
403f094bd2 add more detail about POSIX thread priorities 2005-10-31 12:41:42 +00:00
Andrew Johnson
b2681f5eb8 Fixed gcc warnings (NULL is a pointer, '\0' is a zero character). 2005-10-28 23:14:06 +00:00
Shifu Xu
8360c29cdb optimize priority scheduling code 2005-10-28 22:12:44 +00:00
Janet B. Anderson
f0a3bc9d2b Changed comments. 2005-10-28 21:33:37 +00:00
Janet B. Anderson
02006d89dd Removed reference to POSIX=YES/NO. 2005-10-28 21:29:21 +00:00
Janet B. Anderson
9520c4be9f Removed references to POSIX=YES/NO. 2005-10-28 21:28:00 +00:00
Janet B. Anderson
89023bee7d Added system library names. 2005-10-28 20:15:19 +00:00
Andrew Johnson
1091a05902 Make prompts more friendly, listing choices where appropriate. 2005-10-28 19:45:08 +00:00
Andrew Johnson
81c052a4e2 Removed epicsList and associated test file - not used or maintained. 2005-10-28 19:36:09 +00:00
Janet B. Anderson
eea13fb653 Initial version. 2005-10-28 18:22:04 +00:00
Andrew Johnson
728794a306 Fixed solaris warning: String literal converted to char* in initialization. 2005-10-28 18:19:47 +00:00
Andrew Johnson
12eca66b80 Oops, dsxt stuff not committed yet, undone part of last change. 2005-10-28 18:08:08 +00:00
Andrew Johnson
fe1a5f35ae Include pdsxt in dbDumpDevice output. 2005-10-28 17:57:12 +00:00
Andrew Johnson
414511890d Added a dbFindDriver() routine, to look up drvet's by name. 2005-10-28 16:15:12 +00:00
Janet B. Anderson
911efd67e4 Initial version. 2005-10-28 15:59:35 +00:00
Andrew Johnson
bffda92e45 Updated to cover recent changes such as default values, and remove things that
were never implemented.
2005-10-28 15:50:21 +00:00
Andrew Johnson
b043efe0c2 Revised and extended tests, convert to standard output format. 2005-10-28 15:42:45 +00:00
Janet B. Anderson
3712b163af Initial version. File contributed by Ernest Williams, SNS. 2005-10-28 15:41:51 +00:00
Janet B. Anderson
8d7fd76d83 Initial version. File contributed by Ernest Williams, SNS 2005-10-28 15:31:46 +00:00
Janet B. Anderson
10b20f017a Moved POSIX thread priority scheduling flag from CONFIG_COMMON. 2005-10-28 13:47:52 +00:00
Janet B. Anderson
0e4213a373 Move POSIX thread priority scheduling flag to libCom Makefile. 2005-10-28 13:46:40 +00:00
Marty Kraimer
7beea091b1 change way to handle EPERM error 2005-10-28 12:59:26 +00:00
Jeff Hill
cd9041afee fixed mantis 175 - example server does not update time stamp for array pv 2005-10-27 23:56:05 +00:00
Jeff Hill
d6c8de87de preserve native type when its a scalar so that enum regression tests
excercise relevant subcomponents of GDD
2005-10-27 23:47:01 +00:00
Jeff Hill
0640cc0995 fixed GDD: aitConvertStringEnum16 does nothing if pEnumStringTable==NULL
mantis 211
2005-10-27 23:38:26 +00:00
Janet B. Anderson
f8cb3e93e8 Initial version. File created by Ernest Williams, SNS 2005-10-27 21:45:18 +00:00
Janet B. Anderson
43ffc23561 Initial version. File created by Ernest Williams, SNS 2005-10-27 21:30:52 +00:00
Marty Kraimer
91fb0ccf59 add priority scheduling 2005-10-27 19:26:24 +00:00
Jeff Hill
773c5ed64f shutdown read side of online notify socket 2005-10-27 15:10:03 +00:00
Jeff Hill
8e0f750509 shutdown read side of online notify socket 2005-10-26 23:25:11 +00:00
Jeff Hill
e300623cab convert size_t to u long and use %lu for 64 bit arch 2005-10-26 22:00:04 +00:00
Jeff Hill
41e6ec4ff9 updated little endian arch list to include defined(_armv4l_) || defined (_X86_64_) 2005-10-26 21:45:54 +00:00
Jeff Hill
126525d626 support for armv4l impure little endian 2005-10-26 21:44:03 +00:00
Janet B. Anderson
3b1583274c Initial version. 2005-10-26 21:13:16 +00:00
Janet B. Anderson
bce31499fa Modified comments regarding usage of nfsMountAll. 2005-10-26 21:04:48 +00:00
Janet B. Anderson
96b099b0c5 Changes for makeDbDepends.pl and other fixes. 2005-10-26 20:55:12 +00:00
Janet B. Anderson
42878e59ba Added note about POSIX thread priority scheduling. 2005-10-26 19:51:10 +00:00
Janet B. Anderson
66ad25b4d3 Modified POSIX thread priority scheduling flag. 2005-10-26 19:39:45 +00:00
Janet B. Anderson
3a20b3973e Modified POSIX thread priority scheduling flag for osdThread.c 2005-10-26 19:39:04 +00:00
Janet B. Anderson
33107042c6 Added use POSIX thread priority scheduling option (YES or NO). Fixed typo. 2005-10-26 19:23:01 +00:00
Janet B. Anderson
bad111d1f1 Added POSIX thread priority scheduling flag 2005-10-26 19:20:22 +00:00
Janet B. Anderson
86a68f9368 Added POSIX thread priority scheduling flag for osdThread.c 2005-10-26 19:18:07 +00:00
Jeff Hill
63337acea2 fixed gcc 4.0 fwd ref problem 2005-10-26 18:48:54 +00:00
Janet B. Anderson
8ef6f1728a Added test for DONT_USE_POSIX_THREAD_PRIORITY_SCHEDULING 2005-10-26 18:41:44 +00:00
Janet B. Anderson
a1b924f855 Made RTEMS and vxWorks comments the same. 2005-10-24 18:56:00 +00:00
Jeff Hill
6e4d206301 restore code closing most open files between fork and exec 2005-10-21 17:02:49 +00:00
Janet B. Anderson
8fd6cd15e1 Added host target win32-x86-debug. 2005-10-14 15:58:17 +00:00
Janet B. Anderson
34e14b69cd Updated host and target lists. 2005-10-14 15:55:10 +00:00
Janet B. Anderson
9fd0a42e5c Initial version. 2005-10-13 18:29:03 +00:00
Andrew Johnson
3edfe6c723 Fixed various formatting issues.
Added stuff on macLib default macro values.
2005-10-13 14:21:36 +00:00
Janet B. Anderson
5cf58254f2 Made commandline application names and iocnames optional.
Added prompt for app/ioc names when not on command line.
Added app name command line option (-p app) for use with -i.
Added user prompt for app name with -i with IOC name as default.
2005-10-05 20:26:53 +00:00
W. Eric Norum
4b10d6ba21 Add RTEMS notes. 2005-09-29 15:49:33 +00:00
W. Eric Norum
3d7ae0b02a Pick NFS server and mount point from PPC bug argument string. 2005-09-29 15:08:10 +00:00
Jeff Hill
d42c47fa85 Added rsrv statistics fetch for vxStats 2005-09-23 15:12:26 +00:00
W. Eric Norum
40c042572f Add rtems shutdown notes. 2005-09-21 18:15:25 +00:00
Ralph Lange
e7c3cf1ca8 Make find() follow soft links. 2005-09-21 15:02:53 +00:00
W. Eric Norum
7891fef3d5 Ensure that rtems_shutdown_executive() gets called even if the main
routine does not return but rather calls exit() either directly or
indirectly (through epicsExit()).
2005-09-21 14:08:32 +00:00
W. Eric Norum
3620fc6de2 Arrange to return to BSP (and likely then to bootstrap ROM) when iocsh terminates. 2005-09-19 21:54:30 +00:00
Janet B. Anderson
0376ee4455 Changes COMMANDLINE_LIBRARY set to READLINE. 2005-09-15 17:55:23 +00:00
Janet B. Anderson
7252572480 Changes for cross builds. 2005-09-15 17:50:44 +00:00
Janet B. Anderson
50bc375aa5 Removed unused STRIP definition. 2005-09-15 17:29:25 +00:00
Janet B. Anderson
05482bc8e1 Unset CMPLR_PREFIX. 2005-09-15 17:28:54 +00:00
Janet B. Anderson
468be263fa Get RTEMS_BASE definition. Unset GNU_TARGET_INCLUDE_DIR. 2005-09-15 17:25:15 +00:00
Janet B. Anderson
d1d431f28c Moved SHRLIB_LDFLAGS and LOADABLE_SHRLIB_LDFLAGS to os files. 2005-09-15 16:54:07 +00:00
Janet B. Anderson
32b1a0c01d Moved SHRLIB_LDFLAGS and LOADABLE_SHRLIB_LDFLAGS to CONFIG.gnuCommon. 2005-09-15 16:18:01 +00:00
Janet B. Anderson
a3732082af Moved common code into new file CONFIG.solarisCommon.solarisCommon. 2005-09-15 16:07:53 +00:00
Janet B. Anderson
962602e7a4 VX_DIR definition now in os/CONFIG_SITE.Common.vxWorksCommon
RTEMS_BASE (and RTEMS_VERSION) now in os/CONFIG_SITE.Common.RTEMS
2005-09-15 15:13:50 +00:00
Marty Kraimer
92ba89fc59 apsEvent support removed from base 2005-09-13 19:50:42 +00:00
Marty Kraimer
c60d84aaf4 remove all apsEvent support from base 2005-09-13 19:43:03 +00:00
Ralph Lange
b48c803148 Suppress bogus HP aCC warnings 2005-09-13 13:41:46 +00:00
Janet B. Anderson
25966c7892 Added -lgcc to shared library builds and static prod builds for gcc 3.4.2. 2005-09-12 19:38:51 +00:00
Janet B. Anderson
28ceac4534 Added LEXOPT+=-8 to allow chars that are not plain 7bit standard ASCII. 2005-09-12 18:43:28 +00:00
Janet B. Anderson
709dfee489 -traditional now only support with the -E option.
-Wtraditional for C code only not C++ code.
-Wmissing-prototypes -Wstrict-prototypes for C code only.
Put STATIC_LDLIBS before ARCH_DEP_LDLIBS in LDLIBS definition.
2005-09-01 21:59:56 +00:00
Janet B. Anderson
429182cb3d -mcpu=' is deprecated. 2005-09-01 21:56:13 +00:00
Jeff Hill
3de9d07514 gcc 4.0 karma 2005-08-31 21:09:27 +00:00
W. Eric Norum
7661dfa662 Make nfsMount command a little more convenient. Create mount point if it's missing. 2005-08-30 14:53:41 +00:00
W. Eric Norum
bb0eea01d0 Fix typo. 2005-08-29 20:21:16 +00:00
W. Eric Norum
f22803c0f6 Allow environment to override default domain. 2005-08-29 20:07:52 +00:00
Andrew Johnson
b54044fdd3 Select record changes. 2005-08-29 19:50:32 +00:00
Andrew Johnson
2c52e191b6 Update value and post monitors on SELN field to indicate which input was
selected, independent of the mechanism used.  New NLST field holds old value.
ANSIfied; converted SELM to use values from generated menu header file.
2005-08-29 19:49:39 +00:00
Andrew Johnson
7370a23053 Described the new dbRecordsOnceOnly variable, originally requested by the BCDA
group.
2005-08-29 19:42:11 +00:00
Andrew Johnson
7f704693aa Make the dbRecordsOnceOnly variable visible in all IOC architectures. 2005-08-29 19:14:13 +00:00
Marty Kraimer
0970e2bfbf change lock mlok to dbScanLock 2005-08-26 11:43:00 +00:00
Marty Kraimer
d8517c7964 drvTS has been unbundled from base 2005-08-25 16:02:05 +00:00
Marty Kraimer
dd2800302f changes for 3.14.8 2005-08-25 13:51:40 +00:00
Marty Kraimer
cc3e5d6f5a remove drvTS 2005-08-25 13:09:03 +00:00
Marty Kraimer
cb47f32517 add test for null tid 2005-08-25 13:07:41 +00:00
Marty Kraimer
90759cb45c allow null value for field that does not exist 2005-08-25 13:05:53 +00:00
Marty Kraimer
dbf5cb50f2 use epicsThreadGetIdSelf instead of taskId 2005-08-25 13:04:51 +00:00
Marty Kraimer
4a4b3dc26c fix bug 2005-08-25 13:04:04 +00:00
Marty Kraimer
f7b6224b73 remove unused code 2005-08-25 13:03:30 +00:00
Janet B. Anderson
27438fead6 Define darwin. Changes to avod warnings, OPT flags, and order of includes. 2005-08-24 21:53:00 +00:00
Janet B. Anderson
09adc87364 Initial version. 2005-08-24 20:21:51 +00:00
Jeff Hill
4ed65f7152 added missing forward ref (fixed gcc 4.0 issue) 2005-08-05 20:41:45 +00:00
Jeff Hill
66893f1ab4 no message 2005-08-05 20:33:22 +00:00
Jeff Hill
44ef58ac4a initialize test values 2005-08-05 20:31:18 +00:00
W. Eric Norum
3dcaf5b7ed RTEMS changes. 2005-07-24 16:15:15 +00:00
W. Eric Norum
bd905a55be Set TZ environment variable from NVRAM. 2005-07-24 16:13:54 +00:00
W. Eric Norum
62d1c16114 Use POSIX TZ environment variable now. 2005-07-20 20:04:44 +00:00
W. Eric Norum
04a31d1bd9 RTEMS changes. 2005-07-20 19:39:07 +00:00
W. Eric Norum
a6eb691955 Set POSIX TZ environment variable from EPICS_TIMEZONE.
Allow for simultaneous local and remote filesystems.
2005-07-20 19:37:31 +00:00
W. Eric Norum
4d3d0dff94 RTEMS changes. 2005-07-09 15:01:01 +00:00
W. Eric Norum
dd966763e9 Add another environment variable. 2005-07-09 14:57:43 +00:00
W. Eric Norum
4811381e7b Clean up after failed redirect. 2005-07-08 21:03:09 +00:00
Janet B. Anderson
3ef6620682 Added nfsCommands@RTEMS. 2005-07-06 22:31:30 +00:00
Janet B. Anderson
deb336e735 Removed nfsCommands@RTEMS 2005-07-06 22:23:39 +00:00
Janet B. Anderson
e1772e0f14 Added 2 nfsCommands@RTEMS files. 2005-07-06 21:58:31 +00:00
W. Eric Norum
7c004cf3c8 Remove extraneous semicolon. New compilers are pickier. 2005-07-06 21:51:47 +00:00
W. Eric Norum
55ad29ffd2 Remove extraneous semicolon. New versions of gcc complain about it. 2005-07-06 21:39:41 +00:00
W. Eric Norum
99fba1364d Set IOC_NAME environment variable from boot parameters. 2005-07-06 21:19:21 +00:00
W. Eric Norum
90ac180dcb Readline is part of Mac OS X now, so use it. 2005-07-02 22:48:52 +00:00
W. Eric Norum
295012c1fa Tiger notes. 2005-06-28 20:35:38 +00:00
W. Eric Norum
eb4dd20921 Use OS-supplied socklent_t. 2005-06-28 20:34:12 +00:00
W. Eric Norum
795a1b91eb Clean up osiSocklen_t typedef. 2005-06-21 15:44:32 +00:00
Janet B. Anderson
ec22708773 Bug fix submitted by Martin Norbury. 2005-06-13 17:44:23 +00:00
Andrew Johnson
fce5dcf4d6 Exclude all .files from printed ioc arch list, not just . and .. 2005-05-26 16:00:58 +00:00
W. Eric Norum
2320cfecf3 Cosmetic. 2005-04-28 17:21:55 +00:00
W. Eric Norum
6cb81d4cc3 Add iocsh command to print amount of available heap space. 2005-04-28 17:08:04 +00:00
W. Eric Norum
486135a552 Assist drvTs by setting environment variable. 2005-04-26 21:18:08 +00:00
Jeff Hill
a113540e50 fixed R3.14.7 wont build for vxWorks 6.0 2005-04-13 17:28:14 +00:00
Jeff Hill
250ca129f3 fixed spelling 2005-04-12 23:25:30 +00:00
Jeff Hill
33c981f6f8 fixed mantis 192 - Concurrency bug in channel access to local DB 2005-04-12 22:41:20 +00:00
Jeff Hill
f5174ef94e fixed ca_host_name() returns name of the local host 2005-04-11 21:38:35 +00:00
Jeff Hill
983b2a3080 fixed UNIX specific problem where non-blocking IO mode was not set for a special socket
that receives only broadcasts
2005-04-11 20:58:14 +00:00
Jeff Hill
649f9f6dc6 make certain that com.dll remains resident for its daemon threads even if the
user explicitly uloads it (from a labView DLL)
2005-04-11 18:29:52 +00:00
Jeff Hill
8b6bce29dc code moved to osdThread.c 2005-04-11 18:19:49 +00:00
Andrew Johnson
68292ed1e6 Added example code that registers a new iocsh command. 2005-04-08 17:48:08 +00:00
Jeff Hill
319e001d1b no longer an owner of this code 2005-03-22 21:49:34 +00:00
Janet B. Anderson
6e21f9d94e Initial version. 2005-03-22 18:58:44 +00:00
Jeff Hill
a4fcecf397 fixed bug where put payload was byte swapped twice 2005-03-21 23:57:28 +00:00
Marty Kraimer
9d44f32057 better error message 2005-03-21 14:44:00 +00:00
Marty Kraimer
4fc9c49ac3 simplify code for free=1 case 2005-03-21 14:28:39 +00:00
Marty Kraimer
b0599e863a The maximum size was initialized to 65636 instead of 65536 2005-03-21 14:17:22 +00:00
Marty Kraimer
3fe2c5f343 errlog crashes if called from interruot context 2005-03-17 20:41:00 +00:00
Andrew Johnson
2dc1e77174 Added dbRecordsOnceOnly variable, to allow users to disable the ability
to define record fields more than once.  Unusual, but occasionally useful.
2005-03-17 15:29:51 +00:00
Janet B. Anderson
ac97549d93 Added rule for TCLLIB. 2005-03-07 15:23:46 +00:00
W. Eric Norum
54ba14953a It's not an error if a directory can't be created because it already exists. 2005-03-04 22:58:07 +00:00
W. Eric Norum
7d4cd6ffb2 Add NFSMOUNT support. 2005-03-03 14:05:46 +00:00
Janet B. Anderson
3e24737c73 Added UNINSTALL_DIRS. 2005-03-01 17:06:26 +00:00
Jeff Hill
39809d9086 posix mutex does not allow mutex to be destroyed that is owned 2005-03-01 15:49:12 +00:00
Janet B. Anderson
f1760c0b76 CC and CCC definitions changed to reflect GNU defaults. 2005-02-25 16:02:57 +00:00
Janet B. Anderson
4b0ba2c7f6 Fixed directory for dbd file. 2005-02-24 14:38:30 +00:00
Janet B. Anderson
64e299dfdb Added st.cmd@Cross files for cross builds. 2005-02-23 22:10:28 +00:00
W. Eric Norum
1aca5dc42a epicsExport.h changes. 2005-02-18 22:17:19 +00:00
W. Eric Norum
333e4aa176 Avoid 'strict-aliasing' warnings. 2005-02-18 22:03:24 +00:00
Jeff Hill
12a08561be fixed DLL symbol export for windows 2005-02-18 18:39:56 +00:00
W. Eric Norum
32b7c0d230 Don't require add-on packages. 2005-02-17 02:21:06 +00:00
W. Eric Norum
d76a8e01c7 Move RTEMS location declaration to user-editable configure/RELEASE file. 2005-02-16 19:01:37 +00:00
Marty Kraimer
b916c750d7 do not call vfprintf twice in same routine. powerPC crashes 2005-02-15 20:02:01 +00:00
Janet B. Anderson
dae13275d0 Updated software version numbers. 2005-02-14 18:16:54 +00:00
Janet B. Anderson
d8946262be Updated required versions of perl and GNU make. 2005-02-14 17:33:00 +00:00
W. Eric Norum
b13edb9927 Add reboot reason. 2005-02-13 22:56:12 +00:00
W. Eric Norum
f706aca3b8 EPICS uses its own logging facilities so don't bother with log_host. 2005-02-13 18:00:52 +00:00
W. Eric Norum
ac1f9a3257 More RTEMS changes. 2005-02-12 19:03:49 +00:00
W. Eric Norum
c0ee7e11e3 Improve grammar in comments. 2005-02-12 17:26:13 +00:00
W. Eric Norum
237337904e RTEMS has again moved. 2005-02-12 17:25:44 +00:00
W. Eric Norum
cdb6ba4a83 Add missing argument. 2005-02-11 19:54:29 +00:00
W. Eric Norum
08ad74d64e BSP function name change. 2005-02-10 22:21:46 +00:00
W. Eric Norum
b6ebc155b6 Use linker constants to find flash size/location. 2005-02-10 22:21:35 +00:00
Janet B. Anderson
b74620ccc7 Added the db dependancy definition <name>_DEPENDS. 2005-02-10 18:38:47 +00:00
Janet B. Anderson
406642cecc Comment out invalid white space filter. 2005-02-09 16:00:55 +00:00
Janet B. Anderson
f086636a6d Comment out filter for invalid white space on solaris. 2005-02-09 16:00:04 +00:00
Janet B. Anderson
c5600fdaa1 Added filter for solaris warnings. 2005-02-08 22:16:24 +00:00
Janet B. Anderson
99d146e776 Added code to filter out "invalid white space" msgs on solaris-sparc. 2005-02-08 20:11:13 +00:00
Janet B. Anderson
574a073600 Filter out "invalid white space character in directive" compiler warnings
when included headers created by win32 build.
2005-02-08 20:09:05 +00:00
Janet B. Anderson
6004b1e378 Remove /tmp_mnt for sun4. 2005-02-08 18:29:53 +00:00
Janet B. Anderson
04876477d9 To get unique libs do wildcard using $(LIB_PREFIX)$(lib).* 2005-02-07 22:52:05 +00:00
W. Eric Norum
78ab59e5a7 Add some RTEMS notes. 2005-02-07 15:06:48 +00:00
W. Eric Norum
390a6318e8 Add 'VME' support for RTEMS-uC5282 target. 2005-02-07 15:06:10 +00:00
W. Eric Norum
a5e85b0eb0 Add support for in-memory filesystem.
Allows for fully standalone IOCs.
2005-02-07 15:04:52 +00:00
Janet B. Anderson
77f6460811 Moved the GNU_DIR site override definition to a CONFIG_SITE file. 2005-02-04 20:18:44 +00:00
Janet B. Anderson
880664adbb Return fullpathname if arg starts with "." else return arg value. 2005-02-03 14:46:37 +00:00
W. Eric Norum
f317abed5e Allow a little more fragmentation of heap. 2005-02-01 23:59:30 +00:00
W. Eric Norum
ea37d538ba Comment out cross-development targets accidentally enabled. 2005-02-01 20:51:44 +00:00
W. Eric Norum
5275b22887 Add new site-specific file. 2005-02-01 20:46:52 +00:00
W. Eric Norum
0cd520d093 Add uC5282 support. 2005-02-01 20:45:09 +00:00
W. Eric Norum
f4af3b6955 Clean up the way NVRAM access is handled. 2005-02-01 20:42:40 +00:00
W. Eric Norum
ee794ebf54 Clean up initialization. Add NVRAM code for uC5282. 2005-02-01 20:42:14 +00:00
Janet B. Anderson
bf69293239 Added LIB_INSTALLS, libraries to install. 2005-01-25 16:58:29 +00:00
W. Eric Norum
cd4b7ba067 Work around problem with iocsh redirection from within vxWorks scripts. 2005-01-10 15:09:26 +00:00
Andrew Johnson
7a3d887fb2 We should ship a configuration that matches the native unenhanced OS. 2004-12-16 19:53:38 +00:00
Marty Kraimer
e1c3bfd8d2 user correct function prototype 2004-12-13 14:32:23 +00:00
291 changed files with 5305 additions and 7269 deletions

View File

@@ -29,7 +29,7 @@ G++_SHRLIB_LDFLAGS_YES += -Wl,-soname,$@
OP_SYS_CFLAGS += -D_BSD_SOURCE
ARCH_DEP_CFLAGS = -D_X86_ -Dlinux -mcpu=pentium
ARCH_DEP_CFLAGS = -D_X86_ -Dlinux
ARCH_DEP_LDLIBS += -lpthread -lreadline -lcurses -lrt
#Allows R3.13 built extensions to load R3.14 shared libs

View File

@@ -18,7 +18,7 @@
EPICS_VERSION=3
EPICS_REVISION=14
EPICS_MODIFICATION=7
EPICS_MODIFICATION=8
EPICS_UPDATE_NAME=
EPICS_UPDATE_LEVEL=0

View File

@@ -87,10 +87,10 @@ EPICS_BASE_BIN = $(EPICS_BASE)/bin/$(T_A)
GCC_ANSI = $(GCC) -ansi
GCC_STRICT = $(GCC) -ansi -pedantic
GCC_TRAD = $(GCC) -traditional
GCC_TRAD = $(GCC)
GCC_DEP_CFLAGS = -fPIC -D_REENTRANT
GCC_WARN_YES = -Wall
GCC_WARN_YES = -Wall -Wtraditional -Wmissing-prototypes -Wstrict-prototypes
GCC_WARN_NO = -w
GCC_OPT_YES = -O3
GCC_OPT_NO = -g
@@ -102,13 +102,13 @@ GCC_SHRLIB_CFLAGS_YES =
GCC_SHRLIB_LDFLAGS_YES = -shared
G++_NORMAL = $(G++) -ansi -pedantic
G++_STRICT = $(G++) -ansi -pedantic -Wtraditional
G++_TRAD = $(G++) -traditional
G++_STRICT = $(G++) -ansi -pedantic
G++_TRAD = $(G++)
G++_TEMPL_INST_FLAG = -DEXPL_TEMPL
G++_DEP_CFLAGS = -fPIC -D_REENTRANT
G++_WARN_YES = -Wall \
-Wmissing-prototypes -Woverloaded-virtual \
-Wwrite-strings -Wconversion -Wstrict-prototypes\
-Woverloaded-virtual \
-Wwrite-strings -Wconversion\
-Wpointer-arith -Winline
G++_WARN_NO = -w
G++_OPT_YES = -O3
@@ -241,8 +241,8 @@ CXXFLAGS = $(OPT_CXXFLAGS) $(DEBUG_CXXFLAGS) $(WARN_CXXFLAGS) $(TARGET_CXXFLAGS)
LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS)\
$(ARCH_DEP_LDFLAGS) $(STATIC_LDFLAGS) $(OP_SYS_LDFLAGS) $(RUNTIME_LDFLAGS)
LDLIBS = $(TARGET_LDLIBS) $(USR_LDLIBS) $(ARCH_DEP_LDLIBS)\
$(STATIC_LDLIBS) $(OP_SYS_LDLIBS) $(POSIX_LDLIBS)
LDLIBS = $(TARGET_LDLIBS) $(USR_LDLIBS) $(STATIC_LDLIBS) $(ARCH_DEP_LDLIBS)\
$(OP_SYS_LDLIBS) $(POSIX_LDLIBS)
CPPFLAGS += $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS) $(POSIX_CPPFLAGS)

View File

@@ -26,6 +26,9 @@ export GCC_EXEC_PREFIX = $(GNU_LIB)/gcc-lib/
CROSS_INCLUDES = $(addprefix -I,$(GNU_TARGET_INCLUDE_DIR))
CROSS_LDFLAGS = $(addprefix -L,$(GNU_TARGET_LIB_DIR))
CMPLR_PREFIX_CROSS=$(addsuffix -,$(GNU_TARGET))
CMPLR_PREFIX=$(CMPLR_PREFIX_$(BUILD_CLASSS))
# All cross builds use the gnu compiler
include $(CONFIG)/CONFIG.gnuCommon

View File

@@ -15,8 +15,8 @@ GNU = YES
GNU_BIN = $(GNU_DIR)/bin
GNU_LIB = $(GNU_DIR)/lib
CC = $(GNU_BIN)/$(CMPLR_PREFIX)cc$(CMPLR_SUFFIX)
CCC = $(GNU_BIN)/$(CMPLR_PREFIX)cc$(CMPLR_SUFFIX)
CC = $(GNU_BIN)/$(CMPLR_PREFIX)gcc$(CMPLR_SUFFIX)
CCC = $(GNU_BIN)/$(CMPLR_PREFIX)g++$(CMPLR_SUFFIX)
AR = $(GNU_BIN)/$(CMPLR_PREFIX)ar$(CMPLR_SUFFIX) -rc
LD = $(GNU_BIN)/$(CMPLR_PREFIX)ld$(CMPLR_SUFFIX) -r
CPP = $(CC) -x c -E
@@ -50,3 +50,5 @@ STATIC_LDFLAGS_NO =
SHRLIB_CFLAGS = -fPIC
GNU_LDLIBS_YES = -lgcc

View File

@@ -67,6 +67,7 @@
# OBJS_IOC ioc system object files to build and install
# USR_INCLUDES include directories
# BIN_INSTALLS binaries to install
# LIB_INSTALLS library binaries to install
# RCS win32 resource files for building libraries and prods
# PROD_RCS win32 resource files for building prods
# LIB_RCS win32 resource files for building libraries
@@ -221,6 +222,14 @@ BIN_INSTALLS+=$(BIN_INSTALLS_DEFAULT)
endif
endif
ifneq ($(strip $(LIB_INSTALLS_$(OS_CLASS))),)
LIB_INSTALLS+=$(subst -nil-,,$(LIB_INSTALLS_$(OS_CLASS)))
else
ifdef LIB_INSTALLS_DEFAULT
LIB_INSTALLS+=$(LIB_INSTALLS_DEFAULT)
endif
endif
ifneq ($(strip $(PROD_OBJS_$(OS_CLASS))),)
PROD_OBJS+=$(subst -nil-,,$(PROD_OBJS_$(OS_CLASS)))
else

View File

@@ -18,7 +18,7 @@
EPICS_VERSION=3
EPICS_REVISION=14
EPICS_MODIFICATION=7
EPICS_MODIFICATION=8
EPICS_UPDATE_NAME=
EPICS_UPDATE_LEVEL=0

View File

@@ -103,6 +103,8 @@ GNU=NO
DEP=.depends
OBJ = .
RES = .
CMPLR_SUFFIX=
CMPLR_PREFIX=
#-------------------------------------------------------
# tools for installing libraries and products
@@ -231,11 +233,6 @@ WARN_CXXFLAGS = $(WARN_CXXFLAGS_$($(BUILD_CLASS)_WARN))
OPT_CFLAGS = $(OPT_CFLAGS_$($(BUILD_CLASS)_OPT))
OPT_CXXFLAGS = $(OPT_CXXFLAGS_$($(BUILD_CLASS)_OPT))
# Posix flags
POSIX=YES
POSIX_CPPFLAGS=$(POSIX_CPPFLAGS_$(POSIX))
POSIX_LDLIBS=$(POSIX_LDLIBS_$(POSIX))
# Static build flags
STATIC_CFLAGS = $(STATIC_CFLAGS_$(STATIC_BUILD))
STATIC_CXXCFLAGS = $(STATIC_CXXFLAGS_$(STATIC_BUILD))
@@ -272,7 +269,7 @@ LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS) \
$(RUNTIME_LDFLAGS) $(CODE_LDFLAGS)
LDLIBS = $(STATIC_LDLIBS)\
$(POSIX_LDLIBS) $(ARCH_DEP_LDLIBS) $(DEBUG_LDLIBS) $(OP_SYS_LDLIBS)
$(POSIX_LDLIBS) $(ARCH_DEP_LDLIBS) $(DEBUG_LDLIBS) $(OP_SYS_LDLIBS) $(GNU_LDLIBS_$(GNU))
CPPFLAGS += $(CONFORM_CPPFLAGS) $($(BUILD_CLASS)_CPPFLAGS) $(POSIX_CPPFLAGS)\
$(BASE_CPPFLAGS) $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS)\
@@ -287,6 +284,12 @@ ARCMD = $(AR) $(ARFLAGS) $(USR_ARFLAGS) $@ $(LIBRARY_LD_OBJS)
# 'Munch' link-edit
MUNCH_CMD = $(LD) -o $@ $^
#--------------------------------------------------
# LEX default option (valid for EPICS base 3.13.0.beta12 and later)
#
# to allow characters that are not plain 7bit standard ASCII
LEXOPT += -8
#--------------------------------------------------
# Build compile line here

View File

@@ -29,19 +29,27 @@
# darwin-ppc
# hpux-parisc (HP compiler used for host builds)
# hpux-parisc-gnu (GNU compiler used for host builds)
# linux-ppc (GNU compiler used for host builds)
# linux-ppc-bgl
# linux-x86 (GNU compiler used for host builds)
# linux-x86_64 (GNU compiler used for host builds)
# linux-x86-borland (Borland C++ compiler used for host builds)
# solaris-sparc (sun compiler used for host builds)
# solaris-sparc-gnu (GNU compiler used for host builds)
# solaris-sparc64 (sun compiler used for host builds)
# solaris-sparc64-gnu (GNU compiler used for host builds)
# solaris-x86 (sun compiler used for host builds)
# solaris-x86-gnu (GNU compiler used for host builds)
# win32-x86 (MS Visual C++ compiler used for host builds)
# win32-x86_mingw (MinGW compiler used for host builds)
# win32-x86-borland (Borland C++ compiler used for host builds)
# win32-x86-cygwin (cygwin GNU compiler used for host builds)
# Debugging builds
# linux-x86-debug (GNU compiler with -g option for host builds)
# solaris-sparc-debug (sun compiler with -g option for host builds)
# win32-x86-debug (MS Visual C++ compiler with debug option for host builds)
# linux-x86-debug (GNU compiler with -g option for host builds)
# linux-x86_64-debug (GNU compiler with -g option for host builds)
# solaris-sparc-debug (sun compiler no optimization,-g for debugging info)
# win32-x86-debug (MS Visual C++ compiler with debug option for host builds)
# EPICS_HOST_ARCH is a required environment variable
@@ -57,6 +65,7 @@
# linux-586 (linux-x86 host)
# linux-686 (linux-x86 host)
# linux-athlon (linux-x86 host)
# linuxRT-mvme2100 (linux-x86 host)
# vxWorks-486
# vxWorks-68040
# vxWorks-68040lc
@@ -66,11 +75,16 @@
# vxWorks-ppc603_long
# vxWorks-ppc604
# vxWorks-ppc604_long
# vxWorks6-mv2100
# vxWorks6-mv5100
# RTEMS-gen68360
# RTEMS-mvme167
# RTEMS-pc386
# RTEMS-mcp750
# RTEMS-mvme167
# RTEMS-mvme2100
# RTEMS-mvme5500
# RTEMS-pc386
# RTEMS-psim
# RTEMS-uC5282
#
# Debugging builds
# vxWorks-68040-debug
@@ -157,3 +171,6 @@ COMPAT_313=NO
# Installation directory
#Note: INSTALL_LOCATION definition moved to configure/RELEASE file
# Use POSIX thread priority scheduling (YES or NO)
USE_POSIX_THREAD_PRIORITY_SCHEDULING = NO

View File

@@ -33,15 +33,15 @@
# where the start and end are mmddhh - that is month,day,hour
# eg EPICS_TIMEZONE=CUS::360:033102:102802
#
# DST for 2004 US: Apr 4 - Oct 31
# EU: Mar 28 - Oct 31
# DST for 2006 US: Apr 2 - Oct 29
# EU: Mar 26 - Oct 29
# (see: http://www.worldtimezone.org/daylight.html)
#
# EPICS_TS_NTP_INET
# NTP or Unix time server ip address. Uses boot host if not set.
EPICS_TIMEZONE=CUS::360:040402:103102
#EPICS_TIMEZONE=MET::-60:032802:103102
EPICS_TIMEZONE=CUS::360:040202:102902
#EPICS_TIMEZONE=MET::-60:032602:102902
EPICS_TS_NTP_INET=
# IOC Shell:

View File

@@ -7,17 +7,19 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# RELEASE: Define location of external products
#
# RELEASE: Define location of external EPICS products
# VX_DIR definition now in os/CONFIG_SITE.Common.vxWorksCommon
# RTEMS_BASE (and RTEMS_VERSION) now in os/CONFIG_SITE.Common.RTEMS
# NB: Settings in RELEASE files can be overridden in files named
# RELEASE.$(EPICS_HOST_ARCH)
# RELEASE.Common.$(OS_CLASS)Common
# RELEASE.Common.$(T_A)
# RELEASE.$(EPICS_HOST_ARCH).$(T_A)
# Tornado directory
VX_DIR = /usr/local/vw/tornado202p1
#VX_DIR = /usr/local/vw/tornado22-$(ARCH_CLASS)
# If you don't want to install into $(TOP) dir then
# define INSTALL_LOCATION here
#INSTALL_LOCATION=<fullpathname>
#INSTALL_LOCATION=/home/phoebus/JBA/install

View File

@@ -24,6 +24,7 @@ vpath bpt%.data $(USR_VPATH) $(GENERIC_SRC_DIRS) $(COMMON_DIR)
INSTALL_DBDFLAGS += -I $(INSTALL_LOCATION)/dbd
DBDFLAGS = $(USR_DBDFLAGS) -I . -I .. $(INSTALL_DBDFLAGS) $(RELEASE_DBDFLAGS)
DBFLAGS = $($*_DBFLAGS) $(USR_DBFLAGS) -I. $(GENERIC_SRC_INCLUDES)
DBFLAGS += -I$(COMMON_DIR)
##################################################### Targets
@@ -60,7 +61,7 @@ TEMPLATE2=$(patsubst %0,%,$(patsubst %1,%,$(patsubst %2,%,$(patsubst %3,%,$(pats
$(patsubst %5,%,$(patsubst %6,%,$(patsubst %7,%,$(patsubst %8,%,$(patsubst %9,%, \
$(TEMPLATE1)))))))))))
TEMPLATE3=$(addsuffix .template,$(addprefix ../,$(TEMPLATE2)))
TEMPLATE_FILENAME=$(firstword $(wildcard $(addprefix ../,$($*_TEMPLATE)) ../$*.template $(TEMPLATE3) $(TEMPLATE3) ../template))
TEMPLATE_FILENAME=$(firstword $(wildcard $(addprefix ../,$($*_TEMPLATE)) ../$*.template $(TEMPLATE3) ../template))
# dbst based database optimization
ifeq '$(DB_OPT)' 'YES'
@@ -80,6 +81,8 @@ DBDDEPENDS_FILES += $(addsuffix $(DEP),$(COMMON_DBDS) \
DBDDEPENDS_FLAGS = $(filter .%,$(subst -I,,$(filter-out -S%,$(DBDFLAGS))))
DBDDEPENDS_CMD = -$(MKMF) -m $@$(DEP) $(DBDDEPENDS_FLAGS) $@ $<
MAKEDBDEPENDS = $(PERL) $(TOOLS)/makeDbDepends.pl
#####################################################
ifndef T_A
@@ -134,26 +137,6 @@ clean::
@$(RM) *_registerRecordDeviceDriver.cpp
@$(RM) $(TARGETS)
##################################################### "Foreign" templates
TEMPLATE_LINKS = $(filter-out $(notdir $(USES_TEMPLATE)), $(USES_TEMPLATE))
TEMPLATE_FILES = $(filter $(notdir $(USES_TEMPLATE)), $(USES_TEMPLATE))
COMMON_TEMPLATES=$(addsuffix $(COMMON_DIR)/,$(notdir $(TEMPLATE_LINKS)))
ifneq '$(TEMPLATE_LINKS)' ''
build: $(notdir $(TEMPLATE_LINKS))
endif
build: $(TEMPLATE_FILES)
$(COMMON_TEMPLATES): $(COMMON_DIR)/%.template:
ifndef WIN32
@$(RM) $(notdir $(TEMPLATE_LINKS))
ln -s $(TEMPLATE_LINKS)
else
@$(RM) $(notdir $(TEMPLATE_LINKS))
$(CP) $(TEMPLATE_LINKS)
endif
##################################################### CapFast filter
$(COMMON_DIR)/%.edf: ../%.sch $(DEPSCHS)
@@ -254,19 +237,26 @@ $(COMMON_DIR)/%.db$(RAW): $(COMMON_DIR)/%.edf
@$(REPLACEVAR) < $@.VAR > $@
@$(RM) $@.VAR
# dbst based database optimization
#$(COMMON_DIR)/%.db$(RAW): %.substitutions %.template
# @$(RM) $@$(DEP)
# @$(MAKEDBDEPENDS) $@ $^ >> $@$(DEP)
# @echo "Inflating database from $^"
# @$(RM) $@
# $(MSI) $(DBFLAGS) -S$< $(firstword $(patsubst %.substitutions,,$^)) > msi.tmp
# $(MV) msi.tmp $@
$(COMMON_DIR)/%.db$(RAW): %.substitutions
@$(RM) $@$(DEP)
@$(DBDDEPENDS_CMD)
@$(MAKEDBDEPENDS) $@ $< $(TEMPLATE_FILENAME) >> $@$(DEP)
@echo "$@:$(TEMPLATE_FILENAME)" >> $@$(DEP)
@echo "Inflating database from $<"
@echo "Inflating database from $< $(TEMPLATE_FILENAME)"
@$(RM) $@
$(MSI) $(DBFLAGS) -S$< $(TEMPLATE_FILENAME) > msi.tmp
$(MV) msi.tmp $@
$(COMMON_DIR)/%.db$(RAW): %.template
@$(RM) $@$(DEP)
@$(DBDDEPENDS_CMD)
@$(MAKEDBDEPENDS) $@ $^ >> $@$(DEP)
@echo "Inflating database from $<"
@$(RM) $@
$(MSI) $(DBFLAGS) $< > msi.tmp

View File

@@ -135,11 +135,15 @@ ifdef BIN_INSTALLS
buildInstall : binInstalls
endif
ifdef LIB_INSTALLS
buildInstall : libInstalls
endif
clean::
@echo "Cleaning"
@$(RM) *.i *$(OBJ) *.a $(TESTPRODNAME) $(LIBNAME) $(SHRLIBNAME)\
$(INC) *$(RES) $(TARGETS) $(DLL_LINK_LIBNAME) $(TDS) \
*.out MakefileInclude $(LOADABLE_SHRLIBNAME) \
*.out MakefileInclude $(LOADABLE_SHRLIBNAME) *.manifest *.exp \
$(COMMON_INC) $(HDEPENDS_FILES) $(PRODTARGETS)
ifdef BAF
@$(RM) $(PROD_BAF) $(LIB_BAF) *$(BOF)
@@ -173,7 +177,7 @@ $(OBJLIBNAME):%$(OBJ): $(OBJLIB_LD_OBJS)
%$(OBJ): %.c
@$(HDEPENDS_CMD)
@$(RM) $@
$(COMPILE.c) $(call PATH_FILTER,$<)
$(COMPILE.c) $(call PATH_FILTER,$<) $(COMPILE_FILTER.c)
%$(OBJ): %.cc
@$(HDEPENDS_CMD)
@@ -304,13 +308,25 @@ binInstalls: $(BIN_INSTALLS)
@echo "Installing $(^F)"
@$(INSTALL) -d -m 555 $^ $(INSTALL_BIN)
libInstalls: $(LIB_INSTALLS)
@echo "Installing $(^F)"
@$(INSTALL) -d -m 555 $^ $(INSTALL_LIB)
$(INSTALL_BIN)/%: ../os/$(OS_CLASS)/%
@echo "Installing os-specific script $@"
@$(INSTALL_PRODUCT) -d -m 555 $< $(INSTALL_BIN)
$(INSTALL_BIN)/%: %
@echo "Installing binary $@"
ifdef WIN32
ifdef BORLAND
@$(INSTALL_PRODUCT) -d -m 555 $< $(INSTALL_BIN)
else
@$(INSTALL_PRODUCT) -d -m 555 $<* $(INSTALL_BIN)
endif
else
@$(INSTALL_PRODUCT) -d -m 555 $< $(INSTALL_BIN)
endif
$(INSTALL_BIN)/%: ../%
@echo "Installing script $@"
@@ -335,6 +351,7 @@ ifneq (,$(strip $(SHRLIB_VERSION)))
ln -s $< $(subst .$(SHRLIB_VERSION),,$@)
endif # SHRLIB_VERSION
ifneq ($(INSTALL_TCLLIB),$(INSTALL_BIN))
$(INSTALL_TCLLIB)/%: %
@echo "Installing Tcl library $@"
@@ -345,6 +362,10 @@ $(INSTALL_TCLLIB)/%: ../%
@$(INSTALL) -d -m 555 $< $(INSTALL_TCLLIB)
endif
$(INSTALL_TCLLIB)/$(TCLINDEX): $(INSTALL_TCLLIBS)
@echo "Updating $@"
@echo eval auto_mkindex $(INSTALL_TCLLIB) "$(TCLLIBNAME)" | tclsh
$(INSTALL_LOADABLE_SHRLIBS): $(INSTALL_SHRLIB)/%: %
@echo "Installing loadable shared library $@"
@$(INSTALL_LIBRARY) -d -m 555 $< $(INSTALL_SHRLIB)
@@ -400,7 +421,7 @@ $(INSTALL_TEMPLATES_SUBDIR)/%: %
.PRECIOUS: %.i %.o %.c %.nm %.cpp %.cc
.PRECIOUS: $(COMMON_INC)
.PHONY: all inc build install clean rebuild buildInstall binInstalls
.PHONY: all inc build install clean rebuild buildInstall binInstalls libInstalls
endif # BASE_RULES_BUILD
# EOF RULES_BUILD

View File

@@ -13,6 +13,10 @@
include $(CONFIG)/RULES_DIRS
UNINSTALL_DIRS += $(INSTALL_DBD) $(INSTALL_INCLUDE) $(INSTALL_DOC)\
$(INSTALL_HTML) $(INSTALL_JAVA) $(INSTALL_TEMPLATES) \
$(INSTALL_DB)
uninstallArchTargets = $(foreach arch,$(BUILD_ARCHS), uninstall$(DIVIDER)$(arch))
archPart = $(word 2, $(subst $(DIVIDER), ,$@))
@@ -36,17 +40,13 @@ cvsclean:
realuninstall:
@$(RMDIR) $(INSTALL_LOCATION_BIN) $(INSTALL_LOCATION_LIB)
@$(RMDIR) $(INSTALL_DBD) $(INSTALL_INCLUDE) $(INSTALL_DOC)\
$(INSTALL_HTML) $(INSTALL_JAVA) $(INSTALL_TEMPLATES) \
$(INSTALL_DB)
@$(RMDIR) $(UNINSTALL_DIRS)
uninstall: $(addprefix uninstall$(DIVIDER),$(BUILD_ARCHS))
@$(MAKE) -f Makefile cleandirs
uninstallDirs:
@$(RMDIR) $(INSTALL_DBD) $(INSTALL_INCLUDE) $(INSTALL_DOC)\
$(INSTALL_HTML) $(INSTALL_JAVA) $(INSTALL_TEMPLATES) \
$(INSTALL_DB)
@$(RMDIR) $(UNINSTALL_DIRS)
help:
@echo "Usage: gnumake [options] [target] ..."

View File

@@ -13,15 +13,16 @@
#-------------------------------------------------------
#
#-------------------------------------------------------
# Where to find RTEMS
RTEMS_BASE=/opt/rtems-4.7
RTEMS_VERSION=4.7
#-------------------------------------------------------
# RTEMS tools are similar to UNIX tools
-include $(CONFIG)/os/CONFIG.Common.UnixCommon
GNU_TARGET_INCLUDE_DIR =
#--------------------------------------------------
# Get RTEMS_BASE definition
-include $(CONFIG)/os/CONFIG_SITE.Common.RTEMS
#-------------------------------------------------------
# Pick up the RTEMS tool/path definitions from the RTEMS BSP directory.
include $(RTEMS_BASE)/$(RTEMS_TARGET_CPU)-rtems$(RTEMS_VERSION)/$(subst RTEMS-,,$(T_A))/Makefile.inc

View File

@@ -0,0 +1,23 @@
#
# $Id$
# Author: W. Eric Norum
# Canadian Light Source
# eric@cls.usask.ca
#
# All RTEMS targets use the same Makefile fragment
#
RTEMS_TARGET_CPU = m68k
ARCH_DEP_CFLAGS += -DMY_DO_BOOTP=NULL
MUNCH_SUFFIX = .boot
MUNCHNAME = $(PRODNAME:%$(EXE)=%$(MUNCH_SUFFIX))
define MUNCH_CMD
$(RTEMS_BASE)/bin/$(OBJCOPY_FOR_TARGET) -O binary -R .comment -S $< $@
endef
include $(CONFIG)/os/CONFIG.Common.RTEMS
#
# Must put this one so it shows up after the -m528x
#
OP_SYS_LDFLAGS += -m5200

View File

@@ -17,9 +17,8 @@ ARCH_CLASS = ppc
CODE_CPPFLAGS = -D_REENTRANT
POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -D_ALL_SOURCE
POSIX_CPPFLAGS_NO =
POSIX_LDLIBS_YES = -lpthread
POSIX_CPPFLAGS = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -D_ALL_SOURCE
POSIX_LDLIBS = -lpthread
#SHARED_LIBRARIES=NO

View File

@@ -17,11 +17,10 @@ EXE=.exe
COMPILER_CPPFLAGS = -D_REENTRANT
#POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE=199506L -D_POSIX_THREADS -D_POSIX_TIMERS
#POSIX_CPPFLAGS = -D_POSIX_SOURCE=199506L -D_POSIX_THREADS -D_POSIX_TIMERS
# _POSIX_SOURCE eliminates select()
POSIX_CPPFLAGS_YES = -D_POSIX_THREADS -D_POSIX_TIMERS
#POSIX_LDLIBS_YES += -lpthread
POSIX_LDLIBS_YES += -lpthread
POSIX_CPPFLAGS = -D_POSIX_THREADS -D_POSIX_TIMERS
POSIX_LDLIBS += -lpthread
ARCH_DEP_CPPFLAGS += -D_X86_
@@ -30,5 +29,8 @@ OP_SYS_CPPFLAGS += -DCYGWIN32 -U_WIN32
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-Wl,-rpath,%)
LDLIBS_READLINE = -lcygreadline5 -lcygcurses7
# Definitions used when COMMANDLINE_LIBRARY is READLINE
INCLUDES_READLINE = -I$(GNU_DIR)/include
LDFLAGS_READLINE += -L$(GNU_DIR)/lib
LDLIBS_READLINE = -lreadline

View File

@@ -28,31 +28,31 @@ OP_SYS_CFLAGS += -fno-common
CPPSNCFLAGS += -no-cpp-precomp
#
# The following two definitions enable the use of DarwinPorts packages.
# Darwin os definition
#
OP_SYS_CPPFLAGS += -I/opt/local/include
OP_SYS_LDFLAGS += -L/opt/local/lib
OP_SYS_CPPFLAGS += -Ddarwin
#
# The following two definitions enable the use of DarwinPorts packages.
#
OP_SYS_INCLUDES += -I/opt/local/include
# dir/firstword/wildcard used to avoid warning -L: directory name (...) does not exist
OP_SYS_LDFLAGS += $(addprefix -L,$(dir $(firstword $(wildcard /opt/local/lib/*))))
#
# The following two definitions enable the use of Fink packages.
#
OP_SYS_CPPFLAGS += -I/sw/include
OP_SYS_LDFLAGS += -L/sw/lib
OP_SYS_INCLUDES += -I/sw/include
# dir/firstword/wildcard used to avoid warning -L: directory name (...) does not exist
OP_SYS_LDFLAGS += $(addprefix -L,$(dir $(firstword $(wildcard /sw/lib/*))))
#
# Libraries for command-line editing.
#
LDLIBS_LIBTECLA = -ltecla_r -lncurses
LDLIBS_READLINE = -lreadline
#
# Command-line input support
#
# Install the DarwinPorts or Fink libtecla1 package and place the following
# line in CONFIG_SITE.darwin-ppc.Common to use libtecla command-line editing:
#COMMANDLINE_LIBRARY=LIBTECLA
# or install the DarwinPorts or Fink readline package and place the following
# line in CONFIG_SITE.darwin-ppc.Common to use GNU readline
# command-line editing:
#COMMANDLINE_LIBRARY=READLINE
COMMANDLINE_LIBRARY=READLINE

View File

@@ -28,8 +28,4 @@ empty:= # trick from the make docs...
space:= $(empty) $(empty)
RUNTIME_LDFLAGS = -Wl,+b$(subst $(space),:,$(sort $(SHRLIB_SEARCH_FULLPATHDIRS))),+s
ifeq ($(BUILD_CLASS),CROSS)
GNU_TARGET=parisc-hp-unix
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif
GNU_TARGET=parisc-hp-unix

View File

@@ -0,0 +1,18 @@
# CONFIG.Common.linux-ppc
#
# This file is maintained by the build community.
#
# Definitions for linux-ppc target builds
# Sites may override these definitions in CONFIG_SITE.Common.linux-ppc
#-------------------------------------------------------
# Include definitions common to all Unix targets
include $(CONFIG)/os/CONFIG.Common.linuxCommon
#
# Set OS-specific information
#
ARCH_CLASS = ppc
ARCH_DEP_CPPFLAGS += -D_ppc_

View File

@@ -7,28 +7,13 @@
# Sites may override these definitions in CONFIG_SITE.Common.linux-x86
#-------------------------------------------------------
# Include definitions common to all Unix targets
include $(CONFIG)/os/CONFIG.Common.UnixCommon
# Include definitions common to all linux targets
include $(CONFIG)/os/CONFIG.Common.linuxCommon
OS_CLASS = Linux
ARCH_CLASS = x86
CODE_CPPFLAGS = -D_REENTRANT
POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500
POSIX_CPPFLAGS_NO =
POSIX_LDLIBS_YES = -lpthread
# -D_BSD_SOURCE for gethostname() in unistd.h as needed by cacChannelIO.cpp.
OP_SYS_CPPFLAGS += -D_BSD_SOURCE
OP_SYS_CPPFLAGS += -Dlinux
OP_SYS_LDLIBS += -lrt
ARCH_DEP_CPPFLAGS += -D_X86_
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-Wl,-rpath,%)
ifeq ($(BUILD_CLASS),CROSS)
ifeq ($(EPICS_HOST_ARCH),linux-x86)
# Added for 386,486,... cross builds
@@ -48,5 +33,3 @@ else
endif
endif
LDLIBS_READLINE = -lreadline -lcurses

View File

@@ -13,8 +13,7 @@ include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = Linux
ARCH_CLASS = x86
POSIX_CPPFLAGS_NO =
POSIX_LDLIBS_YES = libpthread.so
POSIX_LDLIBS = libpthread.so
OP_SYS_CPPFLAGS += -D_BSD_SOURCE -D_SVID_SOURCE
OP_SYS_CPPFLAGS += -Dlinux
@@ -24,9 +23,3 @@ ARCH_DEP_CPPFLAGS += -D_X86_
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(SHARED_LIBRARIES))
ifeq ($(BUILD_CLASS),CROSS)
GNU_TARGET=i586-pc-linux-gnu
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif

View File

@@ -0,0 +1,35 @@
# CONFIG.Common.linux-x86_64
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for linux-x86_64 target builds
# Sites may override these definitions in CONFIG_SITE.Common.linux-x86_64
#-------------------------------------------------------
# Include definitions common to all linux targets
include $(CONFIG)/os/CONFIG.Common.linuxCommon
ARCH_CLASS = x86_64
ARCH_DEP_CPPFLAGS += -D_X86_64_
ifeq ($(BUILD_CLASS),CROSS)
ifeq ($(EPICS_HOST_ARCH),linux-x86_64)
# Added for 386,486,... cross builds
CMPLR_PREFIX=
CROSS_INCLUDES=
CROSS_LDFLAGS=
# Use -w not -Wall
#WARN_CFLAGS_YES = -w
#WARN_CXXFLAGS_YES = -w
-include $(CONFIG)/os/CONFIG_SITE.Common.linux-x86_64
-include $(CONFIG)/os/CONFIG.linux-x86_64.linux-x86_64
-include $(CONFIG)/os/CONFIG_SITE.linux-x86_64.linux-x86_64
else
GNU_TARGET=i586-pc-linux-gnu
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif
endif

View File

@@ -0,0 +1,12 @@
# CONFIG.Common.linux-x86_64-debug
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for linux-x86_64 with debug compiler flags
# Sites may override these definitions in CONFIG_SITE.Common.linux-x86_64-debug
#-------------------------------------------------------
# Include definitions common to all linux-x86_64 target archs
include $(CONFIG)/os/CONFIG.Common.linux-x86_64

View File

@@ -0,0 +1,30 @@
# CONFIG.Common.linuxCommon
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for linux target builds
# Sites may override these definitions in CONFIG_SITE.Common.linuxCommon
#-------------------------------------------------------
# Include definitions common to all Unix targets
include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = Linux
CODE_CPPFLAGS = -D_REENTRANT
POSIX_CPPFLAGS = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500
POSIX_LDLIBS = -lpthread
# -D_BSD_SOURCE for gethostname() in unistd.h as needed by cacChannelIO.cpp.
OP_SYS_CPPFLAGS += -D_BSD_SOURCE
OP_SYS_CPPFLAGS += -Dlinux
OP_SYS_LDLIBS += -lrt
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-Wl,-rpath,%)
# Definitions used when COMMANDLINE_LIBRARY is READLINE
LDLIBS_READLINE = -lreadline -lcurses

View File

@@ -20,9 +20,9 @@ COMPILER_LDFLAGS += -mt
SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
POSIX_CPPFLAGS_YES += -D_POSIX_C_SOURCE=199506L $(POSIX_CPPFLAGS_YES_$(SOLARIS_VERSION))
POSIX_CPPFLAGS_YES += -D_XOPEN_SOURCE=500
POSIX_LDLIBS_YES += -lposix4 -lpthread $(POSIX_LDLIBS_YES_$(SOLARIS_VERSION))
POSIX_CPPFLAGS += -D_POSIX_C_SOURCE=199506L $(POSIX_CPPFLAGS_YES_$(SOLARIS_VERSION))
POSIX_CPPFLAGS += -D_XOPEN_SOURCE=500
POSIX_LDLIBS += -lposix4 -lpthread $(POSIX_LDLIBS_YES_$(SOLARIS_VERSION))
OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION) $(COMPILER_CPPFLAGS)
OP_SYS_LDFLAGS += $(COMPILER_LDFLAGS)
@@ -31,12 +31,7 @@ OP_SYS_LDFLAGS += $(COMPILER_LDFLAGS)
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-R%)
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(COMMANDLINE_LIBRARY))
ifeq ($(BUILD_CLASS),CROSS)
GNU_TARGET=sparc-sun-solaris2
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif
GNU_TARGET=sparc-sun-solaris2
OP_SYS_LDLIBS += -lsocket -lnsl
OP_SYS_LDLIBS_8 += -lCrun -lc -lCstd
@@ -44,7 +39,6 @@ OP_SYS_LDLIBS_9 += -lCrun -lc -lCstd
OP_SYS_LDLIBS += $(OP_SYS_LDLIBS_$(SOLARIS_VERSION))
# Definitions used when COMMANDLINE_LIBRARY is READLINE
GNU_DIR = /opt/gnu
INCLUDES_READLINE = -I$(GNU_DIR)/include
RUNTIME_LDFLAGS_READLINE += -R$(GNU_DIR)/lib
LDFLAGS_READLINE += -L$(GNU_DIR)/lib

View File

@@ -0,0 +1,15 @@
# CONFIG.Common.solaris-sparc64
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for solaris-sparc64 compiler target archs
# Sites may override these definitions in CONFIG_SITE.Common.solaris-sparc64
#-------------------------------------------------------
# Include definitions common to all solaris-sparc target archs
include $(CONFIG)/os/CONFIG.Common.solaris-sparc
ARCH_DEP_CFLAGS += -xtarget=ultra -xarch=v9
ARCH_DEP_CXXFLAGS += -xtarget=ultra -xarch=v9
ARCH_DEP_LDFLAGS += -xtarget=ultra -xarch=v9

View File

@@ -0,0 +1,18 @@
# CONFIG.Common.solaris-sparc64-gnu
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for solaris-sparc64 gnu compiler target archs
# Sites may override these definitions in CONFIG_SITE.Common.solaris-sparc64-gnu
#-------------------------------------------------------
# Include definitions common to all solaris-sparc-gnu target archs
include $(CONFIG)/os/CONFIG.Common.solaris-sparc-gnu
ARCH_DEP_CFLAGS += -mcpu=v9 -m64
ARCH_DEP_CXXFLAGS += -mcpu=v9 -m64
ARCH_DEP_LDFLAGS += -mcpu=v9 -m64

View File

@@ -20,9 +20,9 @@ COMPILER_LDFLAGS += -mt
SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
POSIX_CPPFLAGS_YES += -D_POSIX_C_SOURCE=199506L $(POSIX_CPPFLAGS_YES_$(SOLARIS_VERSION))
POSIX_CPPFLAGS_YES += -D_XOPEN_SOURCE=500
POSIX_LDLIBS_YES += -lposix4 -lpthread $(POSIX_LDLIBS_YES_$(SOLARIS_VERSION))
POSIX_CPPFLAGS += -D_POSIX_C_SOURCE=199506L $(POSIX_CPPFLAGS_$(SOLARIS_VERSION))
POSIX_CPPFLAGS += -D_XOPEN_SOURCE=500
POSIX_LDLIBS += -lposix4 -lpthread $(POSIX_LDLIBS_$(SOLARIS_VERSION))
OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION) $(COMPILER_CPPFLAGS)
OP_SYS_LDFLAGS += $(COMPILER_LDFLAGS)
@@ -32,11 +32,7 @@ ARCH_DEP_CPPFLAGS = -D_X86_
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-R%)
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(COMMANDLINE_LIBRARY))
ifeq ($(BUILD_CLASS),CROSS)
GNU_TARGET=x86-sun-solaris2
CMPLR_SUFFIX=
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
endif
GNU_TARGET=x86-sun-solaris2
OP_SYS_LDLIBS += -lsocket -lnsl
OP_SYS_LDLIBS_8 += -lCrun -lc -lCstd
@@ -44,7 +40,6 @@ OP_SYS_LDLIBS_9 += -lCrun -lc -lCstd
OP_SYS_LDLIBS += $(OP_SYS_LDLIBS_$(SOLARIS_VERSION))
# Definitions used when COMMANDLINE_LIBRARY is READLINE
GNU_DIR = /opt/gnu
INCLUDES_READLINE = -I$(GNU_DIR)/include
RUNTIME_LDFLAGS_READLINE += -R$(GNU_DIR)/lib
LDFLAGS_READLINE += -L$(GNU_DIR)/lib

View File

@@ -0,0 +1,28 @@
# CONFIG.Common.vxWorks6-mv2100
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for WRS vxWorks version 6.0 mv2100 target
# target archs with at least 32MB
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks6-mv2100
#-------------------------------------------------------
# Include definitions common to all vxWorks version 6.0 targets
include $(CONFIG)/os/CONFIG.Common.vxWorks6Common
# Vx GNU cross compiler suffix
CMPLR_SUFFIX = ppc
ARCH_CLASS = ppc
# Architecture specific build flags
ARCH_DEP_CPPFLAGS = -DCPU=PPC603
ARCH_DEP_CFLAGS = -mcpu=603 -mstrict-align -mlongcall
#CONFORM_CFLAGS_NORMAL = -DCONFORM_NORMAL_no_ansi_no_pedantic
#CONFORM_CFLAGS_STRICT = -DCONFORM_STRICT_no_ansi_no_pedantic
#CONFORM_CXXFLAGS_NORMAL = -DCONFORM_NORMAL_no_ansi_no_pedantic
#CONFORM_CXXFLAGS_STRICT = -DCONFORM_STRICT_no_ansi_no_pedantic
#CODE_CXXFLAGS = -DOVERRIDE_fno_implicit_templates

View File

@@ -0,0 +1,28 @@
# CONFIG.Common.vxWorks6-mv5100
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for WRS vxWorks version 6.0 mv5100 target
# target archs with at least 32MB
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks6-mv5100
#-------------------------------------------------------
# Include definitions common to all vxWorks version 6.0 target archs
include $(CONFIG)/os/CONFIG.Common.vxWorks6Common
# Vx GNU cross compiler suffix
CMPLR_SUFFIX = ppc
ARCH_CLASS = ppc
# Architecture specific build flags
ARCH_DEP_CPPFLAGS = -DCPU=PPC604
ARCH_DEP_CFLAGS = -mcpu=604 -mstrict-align -mlongcall
#CONFORM_CFLAGS_NORMAL = -DCONFORM_NORMAL_no_ansi_no_pedantic
#CONFORM_CFLAGS_STRICT = -DCONFORM_STRICT_no_ansi_no_pedantic
#CONFORM_CXXFLAGS_NORMAL = -DCONFORM_NORMAL_no_ansi_no_pedantic
#CONFORM_CXXFLAGS_STRICT = -DCONFORM_STRICT_no_ansi_no_pedantic
#CODE_CXXFLAGS = -DOVERRIDE_fno_implicit_templates

View File

@@ -0,0 +1,155 @@
# CONFIG.Common.vxWorks6Common
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for vxWorks version 6.0 target archs
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks6Common
# or CONFIG_SITE.<host>.vxWorks6Common
#-------------------------------------------------------
# Vx valid build types
VALID_BUILDS = Ioc
#--------------------------------------------------
# operating system class (include/os/<os_class>)
OS_CLASS = vxWorks
#-------------------------------------------------------
# Prefix and suffix definitions
EXE =
OBJ = .o
LIB_PREFIX =lib
LIB_SUFFIX = .a
MUNCH_SUFFIX = .munch
#-------------------------------------------------------
# Compiler definitions
CMPLR_PREFIX=
CC = $(GNU_BIN)/$(CMPLR_PREFIX)cc$(CMPLR_SUFFIX)
CCC = $(GNU_BIN)/$(CMPLR_PREFIX)cc$(CMPLR_SUFFIX)
#-------------------------------------------------------
# Library definitions
LIBNAME = $(BUILD_LIBRARY:%=$(LIB_PREFIX)%$(LIB_SUFFIX))
#--------------------------------------------------
# Prod: DEPLIBS, LDFLAGS, and LDLIBS definitions
PROD_DEPLIBS=$(foreach lib,$(PROD_LIBS) $(USR_LIBS), \
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).*, \
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
PROD_LDLIBS = $(addprefix -l,$($*_LDLIBS) $(PROD_LIBS) $(USR_LIBS)\
$($*_SYS_LIBS) $(PROD_SYS_LIBS) $(USR_SYS_LIBS))
PROD_DEPLIB_DIRS = $(dir $($*_DEPLIBS)) $(dir $(PROD_DEPLIBS))
PRODDIR_LDFLAGS += $(sort $(PROD_DEPLIB_DIRS:%=-L%))
#-------------------------------------------------------
# Prod definitions
MUNCHNAME = $(PRODNAME:%$(EXE)=%$(MUNCH_SUFFIX))
CTDT_SRCS = $(PRODNAME:%$(EXE)=%_ctdt.c)
CTDT_OBJS = $(PRODNAME:%$(EXE)=%_ctdt$(OBJ))
NMS = $(PRODNAME:%$(EXE)=%.nm)
MUNCH_DEPENDS = %_ctdt$(OBJ)
#-------------------------------------------------------
# R3.13 compatability object library definitions
# Does not allow $*_SRCS or $*_OBJS. Allows only OBJLIB_SRCS and OBJLIB_OBJS.
OBJLIB += $(OBJLIB_$(OS_CLASS))
OBJLIB_SUFFIX = Library.o
OBJLIBNAME = $(addsuffix $(OBJLIB_SUFFIX),$(basename $(OBJLIB)))
OBJLIB_LD_OBJS += $(addsuffix $(OBJ),$(basename $(OBJLIB_SRCS) $(OBJLIB_OBJS)))
PRODTARGETS += $(OBJLIBNAME)
INSTALL_PROD += $(OBJLIBNAME:%=$(INSTALL_BIN)/%)
OBJLIB_MUNCHNAME += $(OBJLIBNAME:%$(OBJ)=%$(MUNCH_SUFFIX))
INSTALL_MUNCHS += $(OBJLIB_MUNCHNAME:%=$(INSTALL_BIN)/%)
PRODTARGETS += $(OBJLIB_MUNCHNAME)
CTDT_SRCS += $(OBJLIBNAME:%$(OBJ)=%_ctdt.c)
CTDT_OBJS += $(OBJLIBNAME:%$(OBJ)=%_ctdt$(OBJ))
NMS += $(OBJLIBNAME:%$(OBJ)=%.nm)
OBJLIB_LINK.cpp = $(LD) -o $@ $(OBJLIB_LD_OBJS)
SRC_FILES += $(OBJLIB_SRCS)
#---------------------------------------------------------------------
# vxWorks directory definitions (new for vxWorks 6.0)
# WindRiver Workbench directory definitions
GNU_TARGET_INCLUDE_DIR = $(VX_DIR)/vxworks-6.0/target/h
GNU_TARGET_INCLUDE_DIR += $(VX_DIR)/vxworks-6.0/target/h/wrn/coreip
GNU_DIR = $(VX_DIR)/gnu/3.3.2-vxworks60/x86-linux2
#--------------------------------------------------
# C++ host processing
NM = $(GNU_BIN)/$(CMPLR_PREFIX)nm$(CMPLR_SUFFIX)$(HOSTEXE)
#--------------------------------------------------
# The follow 2 exports prevent gnu cross-compiler
# from finding wrong assembler (as).
export WIND_BASE = $(VX_DIR)
export WIND_HOST_TYPE
#--------------------------------------------------
# Tornado2.2 and WindRiver Workbench
# The follow export allows vxWorks.h to include gnu header files
export TOOL_FAMILY = GNU
#--------------------------------------------------
# Operating system flags
OP_SYS_CPPFLAGS += -DvxWorks
OP_SYS_CFLAGS += -fno-builtin
#OP_SYS_CFLAGS += -fno-builtin -fdollars-in-identifiers
OP_SYS_LDFLAGS +=
# Fix for vxWorks headers using macros defined in
# vxWorks.h but not including vxWorks.h
# New for WindRiver Workbench and vxWorks 6.0
OP_SYS_INCLUDE_CPPFLAGS += -include $(VX_DIR)/vxworks-6.0/target/h/vxWorks.h
#--------------------------------------------------
# code flags
CODE_CFLAGS =
#
# WRS still uses an old gnu compiler with a broken -frepo and
# otherwise no automatic template instantiation mechanism as
# is the defacto standard approach today. If we remove this
# flag certain ppc targets will not build.
CODE_CXXFLAGS = -fno-implicit-templates
#--------------------------------------------------
# posix c preprocessor flags
POSIX_CPPFLAGS = -D_POSIX_SOURCE
#--------------------------------------------------
# no shared libs for vxWorks
SHRLIB_CFLAGS =
SHRLIB_LDFLAGS =
#--------------------------------------------------
# osithead use default stack, YES or NO override
OSITHREAD_USE_DEFAULT_STACK = NO
#--------------------------------------------------
# Link definitions
LINK.cpp = $(LD) -o $@ $(STATIC_LDFLAGS) $(PRODDIR_LDFLAGS) $(LDFLAGS)
LINK.cpp += $(PROD_LDFLAGS) $(PROD_LD_OBJS) $(PROD_LD_RESS) $(PROD_LDLIBS)
#--------------------------------------------------
# Definitions for compile of *_ctdt.c file
CFLAGS_ctdt = $(filter-out -pedantic,$(CFLAGS)) -fdollars-in-identifiers
COMPILE.ctdt = $(CC) -c $(CPPFLAGS) $(CFLAGS_ctdt) $(call PATH_FILTER,$(INCLUDES)) $(SOURCE_FLAG)
#--------------------------------------------------
# C preprocessor command
VXCPPFLAGS = $(filter-out $(OP_SYS_INCLUDE_CPPFLAGS),$(CPPFLAGS))
PREPROCESS.cpp = $(CPP) $(VXCPPFLAGS) $(INCLUDES) $< > $@
#--------------------------------------------------
# Allow site overrides
-include $(CONFIG)/os/CONFIG_SITE.Common.vxWorks6Common
-include $(CONFIG)/os/CONFIG_SITE.$(EPICS_HOST_ARCH).vxWorks6Common

View File

@@ -23,6 +23,12 @@ LIB_PREFIX =lib
LIB_SUFFIX = .a
MUNCH_SUFFIX = .munch
#-------------------------------------------------------
# Compiler definitions
CMPLR_PREFIX=
CC = $(GNU_BIN)/$(CMPLR_PREFIX)cc$(CMPLR_SUFFIX)
CCC = $(GNU_BIN)/$(CMPLR_PREFIX)cc$(CMPLR_SUFFIX)
#-------------------------------------------------------
# Library definitions
LIBNAME = $(BUILD_LIBRARY:%=$(LIB_PREFIX)%$(LIB_SUFFIX))
@@ -113,8 +119,7 @@ CODE_CXXFLAGS = -fno-implicit-templates
#--------------------------------------------------
# posix c preprocessor flags
POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE
POSIX_CPPFLAGS_NO =
POSIX_CPPFLAGS = -D_POSIX_SOURCE
#--------------------------------------------------
# no shared libs for vxWorks

View File

@@ -0,0 +1,47 @@
# CONFIG.Common.win32-x86-cygwin
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for cygwin-x86 target builds
# Sites may override these definitions in CONFIG_SITE.Common.cygwin-x86
#-------------------------------------------------------
# Include definitions common to all Unix targets
include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = WIN32
ARCH_CLASS = x86
EXE=.exe
COMPILER_CPPFLAGS = -D_REENTRANT
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-Wl,-rpath,%)
# Definitions used when COMMANDLINE_LIBRARY is READLINE
INCLUDES_READLINE = -I$(GNU_DIR)/include
LDFLAGS_READLINE += -L$(GNU_DIR)/lib
LDLIBS_READLINE = -lreadline
OP_SYS_CXXFLAGS += -D__cplusplus
# With no-cygwin option:
# compiler defines _X86_ 1
# compiler defines __MSVCRT__ 1
# compiler defines __MINGW32__ 1
# compiler defines __WIN32 1
# compiler defines __WIN32__ 1
# compiler defines _WIN32 1
# compiler defines WIN32 1
# compiler defines WINNT 1
# compiler does not define __unix __unix__ unix
# compiler does not define __CYGWIN__ __CYGWIN32__
# Overrides -DUNIX from CONFIG.Common.UnixCommon
OP_SYS_CPPFLAGS = -mno-cygwin
OP_SYS_LDFLAGS += -mno-cygwin
OP_SYS_LDLIBS = -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm

View File

@@ -0,0 +1,39 @@
# CONFIG.Common.win32-x86-mingw
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for win32-x86-mingw target builds
# Sites may override these definitions in CONFIG_SITE.Common.win32-x86-mingw
#-------------------------------------------------------
# Include definitions common to all Unix targets
include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = WIN32
ARCH_CLASS = x86
EXE=.exe
# Library used when COMMANDLINE_LIBRARY is READLINE
LDLIBS_READLINE = -lreadline
STATIC_BUILD=YES
STATIC_LDLIBS_YES=-lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm
# Compiler defines _X86_ 1
# Compiler defines __MSVCRT__ 1
# Compiler defines __MINGW32__ 1
# Compiler defines __WIN32 1
# Compiler defines __WINNT 1
# Compiler defines __WINNT__ 1
# Compiler defines __WIN32__ 1
# Compiler defines _WIN32 1
# Compiler defines WIN32 1
# Compiler defines WINNT 1
# Compiler does not define __unix __unix__ unix
# Override for -DUNIX from CONFIG.Common.UnixCommon
OP_SYS_CPPFLAGS =

View File

@@ -10,9 +10,6 @@ include $(CONFIG)/CONFIG.gnuCommon
GNU_DIR = /usr/common/usg/gcc/3.2.1
CC = $(GNU_BIN)/gcc
CCC = $(GNU_BIN)/g++
AR = ar
ARFLAGS = rcv
RANLIB = ranlib -t

View File

@@ -10,8 +10,6 @@
# Include common gnu compiler definitions
include $(CONFIG)/CONFIG.gnuCommon
CC = $(GNU_BIN)/gcc
CCC = $(GNU_BIN)/g++
AR = ar -rc
RANLIB=
LD = ld -r
@@ -23,7 +21,7 @@ STATIC_LDLIBS_YES = -Wl,-a,default
STATIC_LDLIBS_NO =
# Switch explicitly from default DCE threads to posix threads
POSIX_CPPFLAGS_YES += -D_REENTRANT -D_PTHREADS -D_POSIX_C_SOURCE=199506L
POSIX_CPPFLAGS += -D_REENTRANT -D_PTHREADS -D_POSIX_C_SOURCE=199506L
USR_SYS_LIBS += pthread
# C++ templates need PIC definition also in link phase

View File

@@ -15,9 +15,9 @@ AR = ar -rc
LD = ld -r
# Configure OS vendor C compiler
CONFORM_CFLAGS_ANSI = -Aa
CONFORM_CFLAGS_STRICT = -Aa
CONFORM_CFLAGS_TRAD = -Ac
CONFORM_CFLAGS_ANSI = -Aa -mt
CONFORM_CFLAGS_STRICT = -Aa -mt
CONFORM_CFLAGS_TRAD = -Ac -mt
# Portability across different PA-RISC architecture versions
CODE_CFLAGS = +DAportable +z

View File

@@ -0,0 +1,12 @@
# CONFIG.linux-ppc.Common
#
# This file is maintained by the build community.
#
# Definitions for linux-ppc host builds
# Sites may override these definitions in CONFIG_SITE.linux-ppc.Common
#-------------------------------------------------------
#Include definitions common to unix hosts
include $(CONFIG)/os/CONFIG.UnixCommon.Common
WIND_HOST_TYPE = ppc-linux

View File

@@ -0,0 +1,20 @@
# CONFIG.linux-ppc.linux-ppc
#
#
# Definitions for linux-ppc host - linux-ppc target builds
# Sites may override these definitions in CONFIG_SITE.linux-ppc.linux-ppc
#-------------------------------------------------------
# Include common gnu compiler definitions
include $(CONFIG)/CONFIG.gnuCommon
GNU_DIR = /usr
CC = $(GNU_BIN)/gcc
CCC = $(GNU_BIN)/g++
SHRLIB_LDFLAGS = -shared -fPIC
LOADABLE_SHRLIB_LDFLAGS = -shared -fPIC
GNU_LDLIBS_YES = -lgcc

View File

@@ -11,14 +11,11 @@ include $(CONFIG)/CONFIG.gnuCommon
GNU_DIR = /usr
CC = $(GNU_BIN)/gcc
CCC = $(GNU_BIN)/g++
STATIC_LDFLAGS_YES= -Wl,-Bstatic
STATIC_LDFLAGS_NO=
STATIC_LDLIBS_YES= -Wl,-Bdynamic
STATIC_LDLIBS_NO=
SHRLIB_LDFLAGS += -shared -fPIC
SHRLIB_LDFLAGS += -shared -fPIC
LOADABLE_SHRLIB_LDFLAGS = -shared -fPIC

View File

@@ -0,0 +1,15 @@
# CONFIG.linux-x86_64-debug.Common
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for linux-x86_64 debug with debug compiler flags
# Sites may override these definitions in CONFIG_SITE.linux-x86_64-debug.Common
#-------------------------------------------------------
#Include definitions common to linux-x86_64 hosts
include $(CONFIG)/os/CONFIG.linux-x86_64.Common
# Make all crosscompiler builds debug builds
#CROSS_OPT=NO

View File

@@ -0,0 +1,14 @@
# CONFIG.linux-x86_64-debug.linux-x86_64-debug
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for linux-x86_64 host - linux-x86_64 target build with debug compiler flags
# Sites may override these definitions in CONFIG_SITE.linux-x86_64-debug.linux-x86_64-debug
#-------------------------------------------------------
include $(CONFIG)/os/CONFIG.linux-x86_64.linux-x86_64
# Removes -O optimization and adds -g compile option
HOST_OPT=NO

View File

@@ -0,0 +1,13 @@
# CONFIG.linux-x86_64.Common
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for linux-x86_64 host builds
# Sites may override these definitions in CONFIG_SITE.linux-x86_64.Common
#-------------------------------------------------------
#Include definitions common to unix hosts
include $(CONFIG)/os/CONFIG.UnixCommon.Common
WIND_HOST_TYPE = x86-linux

View File

@@ -0,0 +1,21 @@
# CONFIG.linux-x86_64.linux-x86_64
#
# $Id$
#
# Definitions for linux-x86_64 host - linux-x86_64 target builds
# Sites may override these definitions in CONFIG_SITE.linux-x86_64.linux-x86_64
#-------------------------------------------------------
# Include common gnu compiler definitions
include $(CONFIG)/CONFIG.gnuCommon
GNU_DIR = /usr
STATIC_LDFLAGS_YES= -Wl,-Bstatic
STATIC_LDFLAGS_NO=
STATIC_LDLIBS_YES= -Wl,-Bdynamic
STATIC_LDLIBS_NO=
SHRLIB_LDFLAGS += -shared -fPIC
LOADABLE_SHRLIB_LDFLAGS = -shared -fPIC

View File

@@ -0,0 +1,13 @@
# CONFIG.linux-x86-debug.linux-x86-debug
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for linux-x86 host - linux-x86-debug target build with debug compiler flags
# Sites may override these definitions in CONFIG_SITE.linux-x86.linux-x86-debug
#-------------------------------------------------------
include $(CONFIG)/os/CONFIG.linux-x86-debug.linux-x86-debug
BUILD_CLASS = HOST

View File

@@ -10,10 +10,6 @@
# Include common gnu compiler definitions
include $(CONFIG)/CONFIG.gnuCommon
GNU_DIR = /opt/gnu
CC = $(GNU_BIN)/gcc
CCC = $(GNU_BIN)/g++
AR = ar -rc
RANLIB=
LD = ld -r
@@ -23,8 +19,8 @@ STATIC_LDFLAGS_NO=
STATIC_LDLIBS_YES= -Wl,-Bdynamic
STATIC_LDLIBS_NO=
SHRLIB_LDFLAGS += -shared -fPIC -h $@
LOADABLE_SHRLIB_LDFLAGS += -shared -fPIC -h $@
SHRLIB_LDFLAGS += -shared -fPIC
LOADABLE_SHRLIB_LDFLAGS = -shared -fPIC
OP_SYS_LDFLAGS += -z ignore -z combreloc -z lazyload

View File

@@ -7,54 +7,4 @@
# Sites may override these definitions in CONFIG_SITE.solaris-sparc.solaris-sparc
#-------------------------------------------------------
SPARCWORKS = /opt/SUNWspro
CC = $(SPARCWORKS)/bin/cc
CCC = $(SPARCWORKS)/bin/CC
CPP = $(CC) -E -Qn
RANLIB =
# required by sun's C++ compiler
AR = $(CCC) -xar -o
LD = ld -r
#Prepare the object code for profiling with prof. (YES or NO)
PROFILE=NO
#Prepare the object code for profiling with gprof. (YES or NO)
GPROF=NO
# Configure OS vendor C compiler
CONFORM_CFLAGS_ANSI = -Xa -v
CONFORM_CFLAGS_STRICT = -Xc -v
CONFORM_CFLAGS_TRAD = -Xs
PROF_CFLAGS_YES = -p
GPROF_CFLAGS_YES = -xpg
CODE_CFLAGS = $(PROF_CFLAGS_$(PROFILE)) $(GPROF_CFLAGS_$(GPROF))
WARN_CFLAGS_YES =
WARN_CFLAGS_NO = -w
OPT_CFLAGS_YES = -xO4
OPT_CFLAGS_NO = -g
# Configure OS vendor C++ compiler
CONFORM_CXXFLAGS_NORMAL =
CONFORM_CXXFLAGS_STRICT =
PROF_CXXFLAGS_YES = -p
GPROF_CXXFLAGS_YES = -xpg
CODE_CXXFLAGS = $(PROF_CXXFLAGS_$(PROFILE)) $(GPROF_CXXFLAGS_$(GPROF))
WARN_CXXFLAGS_YES = +w
WARN_CXXFLAGS_NO =
OPT_CXXFLAGS_YES = -O
OPT_CXXFLAGS_NO = -g
CODE_LDFLAGS = $(PROF_CXXFLAGS_$(PROFILE)) $(GPROF_CXXFLAGS_$(GPROF))
STATIC_LDFLAGS_YES= -Bstatic
STATIC_LDFLAGS_NO=
STATIC_LDLIBS_YES= -Bdynamic
STATIC_LDLIBS_NO=
SHRLIB_CFLAGS = -KPIC
SHRLIB_LDFLAGS += -z defs -G -h $@ -z text
LOADABLE_SHRLIB_LDFLAGS += -G -h $@ -z text
OP_SYS_LDFLAGS += -z ignore -z combreloc -z lazyload
include $(CONFIG)/os/CONFIG.solarisCommon.solarisCommon

View File

@@ -0,0 +1,11 @@
# CONFIG.solaris-sparc.solaris-sparc64
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for solaris-sparc host - solaris-sparc64 target build with Sun compiler
# Sites may override these definitions in CONFIG_SITE.solaris-sparc.solaris-sparc64
#-------------------------------------------------------
include $(CONFIG)/os/CONFIG.solaris-sparc64.solaris-sparc64

View File

@@ -0,0 +1,12 @@
# CONFIG.solaris-sparc64-gnu.Common
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for solaris-sparc64 gnu compiler host builds
# Sites may override these definitions in CONFIG_SITE.solaris-sparc64-gnu.Common
#-------------------------------------------------------
#Include definitions common to solaris-sparc-gnu hosts
include $(CONFIG)/os/CONFIG.solaris-sparc-gnu.Common

View File

@@ -0,0 +1,12 @@
# CONFIG.solaris-sparc64-gnu.solaris-sparc64-gnu
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for solaris-sparc64 gnu compiler host - solaris-sparc64 gnu compiler target builds
# Sites may override these definitions in CONFIG_SITE.solaris-sparc64-gnu.solaris-sparc64-gnu
#-------------------------------------------------------
# Include common solaris-sparc-gnu definitions
include $(CONFIG)/os/CONFIG.solaris-sparc-gnu.solaris-sparc-gnu

View File

@@ -0,0 +1,12 @@
# CONFIG.solaris-sparc64.Common
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for solaris-sparc Sun compiler host builds
# Sites may override these definitions in CONFIG_SITE.solaris-sparc64.Common
#-------------------------------------------------------
#Include definitions common to solaris-sparc hosts
include $(CONFIG)/os/CONFIG.solaris-sparc.Common

View File

@@ -0,0 +1,11 @@
# CONFIG.solaris-sparc64.solaris-sparc64
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for solaris-sparc Sun compiler host - solaris-sparc Sun compiler target builds
# Sites may override these definitions in CONFIG_SITE.solaris-sparc64.solaris-sparc64
#-------------------------------------------------------
# Include common gnu compiler definitions
include $(CONFIG)/os/CONFIG.solaris-sparc.solaris-sparc

View File

@@ -10,10 +10,6 @@
# Include common gnu compiler definitions
include $(CONFIG)/CONFIG.gnuCommon
GNU_DIR = /opt/gnu
CC = $(GNU_BIN)/gcc
CCC = $(GNU_BIN)/g++
AR = ar -rc
RANLIB=
LD = ld -r
@@ -22,4 +18,3 @@ SHRLIB_LDFLAGS += -shared -fPIC -h $@ -z defs
LOADABLE_SHRLIB_LDFLAGS += -shared -fPIC -h $@
OP_SYS_LDFLAGS += -z ignore -z combreloc -z lazyload

View File

@@ -7,54 +7,4 @@
# Sites may override these definitions in CONFIG_SITE.solaris-x86.solaris-x86
#-------------------------------------------------------
SPARCWORKS = /opt/SUNWspro
CC = $(SPARCWORKS)/bin/cc
CCC = $(SPARCWORKS)/bin/CC
CPP = $(CC) -E -Qn
RANLIB =
# required by sun's C++ compiler
AR = $(CCC) -xar -o
LD = ld -r
#Prepare the object code for profiling with prof. (YES or NO)
PROFILE=NO
#Prepare the object code for profiling with gprof. (YES or NO)
GPROF=NO
# Configure OS vendor C compiler
CONFORM_CFLAGS_ANSI = -Xa -v
CONFORM_CFLAGS_STRICT = -Xc -v
CONFORM_CFLAGS_TRAD = -Xs
PROF_CFLAGS_YES = -p
GPROF_CFLAGS_YES = -xpg
CODE_CFLAGS = $(PROF_CFLAGS_$(PROFILE)) $(GPROF_CFLAGS_$(GPROF))
WARN_CFLAGS_YES =
WARN_CFLAGS_NO = -w
OPT_CFLAGS_YES = -xO4
OPT_CFLAGS_NO = -g
# Configure OS vendor C++ compiler
CONFORM_CXXFLAGS_NORMAL =
CONFORM_CXXFLAGS_STRICT =
PROF_CXXFLAGS_YES = -p
GPROF_CXXFLAGS_YES = -xpg
CODE_CXXFLAGS = $(PROF_CXXFLAGS_$(PROFILE)) $(GPROF_CXXFLAGS_$(GPROF))
WARN_CXXFLAGS_YES = +w
WARN_CXXFLAGS_NO =
OPT_CXXFLAGS_YES = -O
OPT_CXXFLAGS_NO = -g
CODE_LDFLAGS = $(PROF_CXXFLAGS_$(PROFILE)) $(GPROF_CXXFLAGS_$(GPROF))
STATIC_LDFLAGS_YES= -Bstatic
STATIC_LDFLAGS_NO=
STATIC_LDLIBS_YES= -Bdynamic
STATIC_LDLIBS_NO=
SHRLIB_CFLAGS = -KPIC
SHRLIB_LDFLAGS += -z defs -G -h $@ -z text
LOADABLE_SHRLIB_LDFLAGS += -G -h $@ -z text
OP_SYS_LDFLAGS += -z ignore -z combreloc -z lazyload
include $(CONFIG)/os/CONFIG.solarisCommon.solarisCommon

View File

@@ -0,0 +1,65 @@
# CONFIG.solaris-sparc.solaris-sparc
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for solaris-sparc host - solaris-sparc target build
# Sites may override these definitions in CONFIG_SITE.solaris-sparc.solaris-sparc
#-------------------------------------------------------
SPARCWORKS = /opt/SUNWspro
CC = $(SPARCWORKS)/bin/cc
CCC = $(SPARCWORKS)/bin/CC
CPP = $(CC) -E -Qn
RANLIB =
# required by sun's C++ compiler
AR = $(CCC) -xar -o
LD = ld -r
#Prepare the object code for profiling with prof. (YES or NO)
PROFILE=NO
#Prepare the object code for profiling with gprof. (YES or NO)
GPROF=NO
# Configure OS vendor C compiler
CONFORM_CFLAGS_ANSI = -Xa -v
CONFORM_CFLAGS_STRICT = -Xc -v
CONFORM_CFLAGS_TRAD = -Xs
PROF_CFLAGS_YES = -p
GPROF_CFLAGS_YES = -xpg
CODE_CFLAGS = $(PROF_CFLAGS_$(PROFILE)) $(GPROF_CFLAGS_$(GPROF))
WARN_CFLAGS_YES =
WARN_CFLAGS_NO = -w
OPT_CFLAGS_YES = -xO4
OPT_CFLAGS_NO = -g
# Configure OS vendor C++ compiler
CONFORM_CXXFLAGS_NORMAL =
CONFORM_CXXFLAGS_STRICT =
PROF_CXXFLAGS_YES = -p
GPROF_CXXFLAGS_YES = -xpg
CODE_CXXFLAGS = $(PROF_CXXFLAGS_$(PROFILE)) $(GPROF_CXXFLAGS_$(GPROF))
WARN_CXXFLAGS_YES = +w
WARN_CXXFLAGS_NO =
OPT_CXXFLAGS_YES = -O
OPT_CXXFLAGS_NO = -g
CODE_LDFLAGS = $(PROF_CXXFLAGS_$(PROFILE)) $(GPROF_CXXFLAGS_$(GPROF))
STATIC_LDFLAGS_YES= -Bstatic
STATIC_LDFLAGS_NO=
STATIC_LDLIBS_YES= -Bdynamic
STATIC_LDLIBS_NO=
SHRLIB_CFLAGS = -KPIC
SHRLIB_LDFLAGS = -z defs -G -h $@ -z text
LOADABLE_SHRLIB_LDFLAGS = -G -h $@ -z text
OP_SYS_LDFLAGS += -z ignore -z combreloc -z lazyload
# Filter for getting rid of "invalid white space character in directive" compiler warnings
# when including headers created during win32 build.
#COMPILE_FILTER.c = 2>&1 | $(EPICS_BASE)/configure/tools/filterWarnings.pl
#COMPILE_FILTER.cpp = $(COMPILE_FILTER.c)

View File

@@ -0,0 +1,19 @@
# CONFIG.win32-x86-cygwin.Common
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for win32-x86-cygwin host archs
# Sites may override these definitions in CONFIG_SITE.win32-x86-cygwin.Common
#-------------------------------------------------------
#Include definitions common to unix hosts
include $(CONFIG)/os/CONFIG.UnixCommon.Common
HOSTEXE=.exe
WIND_HOST_TYPE = x86-win32
# osithead use default stack, YES or NO override
OSITHREAD_USE_DEFAULT_STACK = NO

View File

@@ -0,0 +1,34 @@
# CONFIG.win32-x86-cygwin.win32-x86-cygwin
#
# $Id$
#
# Definitions for win32-x86-cygwin host - win32-x86-cygwin target builds
# Sites may override these definitions in CONFIG_SITE.win32-x86-cygwin.win32-x86-cygwin
#-------------------------------------------------------
# Include common gnu compiler definitions
include $(CONFIG)/CONFIG.gnuCommon
## Shared libraries for cygwin not implemented yet
SHARED_LIBRARIES=NO
# cygwin's gcc, g++, ar, ld, and ranlib must be in user's path
CC = gcc
CCC = g++
AR = ar -rc
LD = ld -r
RANLIB = ranlib
# Dont use -fPIC: with -fPIC we get
# "warning: -fPIC ignored for target (all code is position independent) "
SHRLIB_CFLAGS =
# Dont use -ansi: -ansi eliminates strdup and _tempnam
CONFORM_CFLAGS_ANSI =
CONFORM_CFLAGS_STRICT = -pedantic
CONFORM_CXXFLAGS_ANSI =
CONFORM_CXXFLAGS_STRICT = -pedantic
# Override linking with gcc library
GNU_LDLIBS_YES =

View File

@@ -0,0 +1,32 @@
# CONFIG.win32-x86-mingw.Common
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for win32-x86-cygwin host archs
# Sites may override these definitions in CONFIG_SITE.win32-x86-cygwin.Common
#-------------------------------------------------------
#Include definitions common to unix hosts
include $(CONFIG)/os/CONFIG.UnixCommon.Common
CP = $(PERL) $(CONFIG)/tools/cp.pl
MV = $(PERL) $(CONFIG)/tools/mv.pl
RM = $(PERL) $(CONFIG)/tools/rm.pl -f
MKDIR = $(PERL) $(CONFIG)/tools/mkdir.pl
RMDIR = $(PERL) $(CONFIG)/tools/rm.pl -rf
ECHO = echo
HOSTEXE=.exe
WIND_HOST_TYPE = x86-win32
# osithead use default stack, YES or NO override
OSITHREAD_USE_DEFAULT_STACK = NO
# DLL build not supported yet
# Needed to find dlls for base installed build tools (antelope,eflex,...)
#PATH := $(EPICS_BASE_TOOLS_BIN):$(PATH)

View File

@@ -0,0 +1,33 @@
# CONFIG.win32-x86-mingw.win32-x86-mingw
#
# $Id$
#
# Definitions for win32-x86-mingw host - win32-x86-mingw target builds
# Sites may override these definitions in CONFIG_SITE.win32-x86-mingw.win32-x86-mingw
#-------------------------------------------------------
# Include common gnu compiler definitions
include $(CONFIG)/CONFIG.gnuCommon
# Shared libraries not implemented
SHARED_LIBRARIES=NO
# gcc, g++, ar, ld, and ranlib must be in user's path
CC = gcc
CCC = g++
AR = ar -rc
LD = ld -r
RANLIB = ranlib
# Avoid "position-independent code is always generated" message
SHRLIB_CFLAGS =
# Dont use -ansi option: eliminates strdup and _tempnam
CONFORM_CFLAGS_ANSI =
CONFORM_CFLAGS_STRICT = -pedantic
CONFORM_CXXFLAGS_ANSI =
CONFORM_CXXFLAGS_STRICT = -pedantic
# Override linking with gcc library
GNU_LDLIBS_YES =

View File

@@ -1,14 +1,19 @@
#
# Site-specific information for all RTEMS targets
#
#-------------------------------------------------------
# Where to find RTEMS
#
# If you're not using BOOTP/DHCP to pick up your IOC network configuration
# you may need to specify your Internet Domain Name here
RTEMS_BASE=/usr/local/rtems/rtems-4.7
RTEMS_VERSION=4.7
# If you're using neither BOOTP/DHCP nor FLASH to pick up your IOC
# network configuration you must specify your Internet Domain Name here
#
OP_SYS_CFLAGS += -DRTEMS_NETWORK_CONFIG_DNS_DOMAINNAME=aps.anl.gov
#
# Specify your desired command-line-input library
#
EPICSCOMMANDLINE_LIBRARY = READLINE
EPICSCOMMANDLINE_LIBRARY = EPICS

View File

@@ -0,0 +1,12 @@
# CONFIG_SITE.Common.cygwin-x86
#
# $Id$
#
# Site Specific definitions for cygwin-x86 target
# Only the local epics system manager should modify this file
# If readline is installed uncomment the following line
# to add command-line editing and history support
#COMMANDLINE_LIBRARY = READLINE

View File

@@ -9,5 +9,6 @@
#
# Other local options
#
OP_SYS_CFLAGS += -g
#COMMANDLINE_LIBRARY = READLINE
OPT_CFLAGS_YES += -g
OPT_CXXFLAGS_YES += -g
COMMANDLINE_LIBRARY = READLINE

View File

@@ -10,9 +10,9 @@
# $(INSTALL_LOCATION)/lib/$(EPICS_HOST_ARCH) (or wherever you install
# the EPICS shared libraries on your system) when invoking base
# executables.
# b) Add the path to SHRLIB_SEARCH_DIRS below, which will burn
# b) Add the path to SHRLIB_SEARCH_FULLPATHDIRS below, which will burn
# the runtime search path into the executables.
#SHARED_LIBRARIES=YES
# This is the absolute path to the generic INSTALL_LOCATION, for SHARED_LIBRARY searches.
SHRLIB_SEARCH_DIRS += /opt/epics/R$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)/support/base/$(EPICS_VERSION)-$(EPICS_REVISION)-$(EPICS_MODIFICATION)-$(EPICS_UPDATE_NAME)$(EPICS_UPDATE_LEVEL)/lib/$(EPICS_HOST_ARCH)
SHRLIB_SEARCH_FULLPATHDIRS += /opt/epics/R$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)/base/$(EPICS_VERSION)-$(EPICS_REVISION)-$(EPICS_MODIFICATION)-$(EPICS_UPDATE_NAME)$(EPICS_UPDATE_LEVEL)/lib/$(EPICS_HOST_ARCH)

View File

@@ -12,7 +12,7 @@
# a) LD_LIBRARY_PATH must include the full absolute pathname to
# $(INSTALL_LOCATION)/lib/$(EPICS_HOST_ARCH) when invoking base
# executables.
# b) Add the runtime path to SHRLIB_SEARCH_DIRS, which will add
# b) Add the runtime path to SHRLIB_SEARCH_FULLPATHDIRS, which will add
# the named directory to the list contained in the executables.
# c) Add the runtime path to /etc/ld.so.conf and run ldconfig
# to inform the system of the shared library location.

View File

@@ -0,0 +1,23 @@
# CONFIG_SITE.Common.linux-x86_64
#
# $Id$
#
# Site Specific definitions for linux-x86_64 target
# Only the local epics system manager should modify this file
# NOTE for SHARED_LIBRARIES: In most cases if this is set to YES the
# shared libraries will be found automatically. However if the .so
# files are installed at a different path to their compile-time path
# then in order to be found at runtime do one of these:
# a) LD_LIBRARY_PATH must include the full absolute pathname to
# $(INSTALL_LOCATION)/lib/$(EPICS_HOST_ARCH) when invoking base
# executables.
# b) Add the runtime path to SHRLIB_SEARCH_DIRS, which will add
# the named directory to the list contained in the executables.
# c) Add the runtime path to /etc/ld.so.conf and run ldconfig
# to inform the system of the shared library location.
# If readline is not installed comment the following line
# to omit command-line editing and history support
COMMANDLINE_LIBRARY = READLINE
OP_SYS_CFLAGS += -g

View File

@@ -8,4 +8,7 @@
# If readline is installed uncomment the following macro definition
# to include command-line editing and history support
#
COMMANDLINE_LIBRARY = READLINE
#COMMANDLINE_LIBRARY = READLINE
# APS site override
GNU_DIR = /opt/gnu

View File

@@ -0,0 +1,11 @@
# CONFIG_SITE.Common.solaris-sparc64
#
# $Id$
#
# Site Specific definitions for solaris-sparc64 target
# Only the local epics system manager should modify this file
# Include definitions common to all solaris-sparc64 target archs
include $(CONFIG)/os/CONFIG_SITE.Common.solaris-sparc
COMMANDLINE_LIBRARY = EPICS

View File

@@ -0,0 +1,11 @@
# CONFIG_SITE.Common.solaris-sparc64-gnu
#
# $Id$
#
# Site Specific definitions for solaris-sparc64-gnu target
# Only the local epics system manager should modify this file
# Include definitions common to all solaris-sparc-gnu target archs
include $(CONFIG)/os/CONFIG_SITE.Common.solaris-sparc-gnu
COMMANDLINE_LIBRARY = EPICS

View File

@@ -0,0 +1,10 @@
# CONFIG_SITE.Common.vxWorksCommon
#
# Site specific definitions for vxWorks target builds
# Only the local epics system manager should modify this file
# Tornado directory
VX_DIR = /usr/local/vw/tornado202p1
#VX_DIR = /usr/local/vw/tornado22-$(ARCH_CLASS)

View File

@@ -0,0 +1,12 @@
# CONFIG_SITE.Common.win32-x86-cygwin
#
# $Id$
#
# Site Specific definitions for cygwin-x86 target
# Only the local epics system manager should modify this file
# Needed to find dlls for gcc, g++, as, cpp, ...
# if cygwin/bin not already in path
CYGWIN_BIN=C:/cygwin/bin
export PATH := $(CYGWIN_BIN):$(PATH)

View File

@@ -6,5 +6,6 @@
# Site override definitions for cygwin-x86 host - cygwin-x86 target builds
#-------------------------------------------------------
##GNU_DIR=C:/cygwin
# GNU_DIR used when COMMANDLINE_LIBRARY is READLINE
GNU_DIR=C:/cygwin

View File

@@ -6,6 +6,4 @@
# Site override definitions for darwin-ppc host builds
#-------------------------------------------------------
# JBA test override values
#CROSS_COMPILER_TARGET_ARCHS = vxWorks-68040 solaris-sparc
#CROSS_COMPILER_TARGET_ARCHS = vxWorks-68040
# CROSS_COMPILER_TARGET_ARCHS = RTEMS-uC5282

View File

@@ -9,5 +9,4 @@
# JBA test override values
#CROSS_COMPILER_TARGET_ARCHS = vxWorks-68040 solaris-sparc
#CROSS_COMPILER_TARGET_ARCHS = vxWorks-68040
#CROSS_COMPILER_TARGET_ARCHS = RTEMS-mvme2100
#CROSS_COMPILER_TARGET_ARCHS = RTEMS-mvme2100 RTEMS-pc386 # RTEMS-mvme5500 RTEMS-mvme167

View File

@@ -4,6 +4,3 @@
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
CC = $(GNU_BIN)/$(CMPLR_PREFIX)gcc$(CMPLR_SUFFIX)
CCC = $(GNU_BIN)/$(CMPLR_PREFIX)g++$(CMPLR_SUFFIX)

View File

@@ -0,0 +1,12 @@
# CONFIG_SITE.linux-x86.vxWorks6-mv2100
#
# $Id$
# This file is maintained by the build community.
#
# Site override definitions for linux-x86 host - vxWorks6-mv2100 target builds
#-------------------------------------------------------
# WindRiver has changed the directory structure of vxWorks
# This is for VxWorks 6.0
VX_DIR = /ade/vxWorks/6.0

View File

@@ -0,0 +1,12 @@
# CONFIG_SITE.linux-x86.vxWorks6-mv5100
#
# $Id$
# This file is maintained by the build community.
#
# Site override definitions for linux-x86 host - vxWorks6-mv5100 target builds
#-------------------------------------------------------
# WindRiver has changed the directory structure of vxWorks
# This is for VxWorks 6.0
VX_DIR = /ade/vxWorks/6.0

View File

@@ -0,0 +1,15 @@
# CONFIG_SITE.linux-x86_64-debug.linux-x86_64-debug
#
# $Id$
#
# Site specific override definitions for solaris-sparc host builds
# Only the local epics system manager should modify this file
#Prepares the object code to collect data for profiling with prof.
#PROFILE=YES
#Compiles for profiling with the gprof profiler.
#GPROF=YES

View File

@@ -0,0 +1,12 @@
# CONFIG_SITE.linux-x86_64.Common
#
# $Id$
# This file is maintained by the build community.
#
# Site override definitions for linux-x86_64 host builds
#-------------------------------------------------------
#CROSS_COMPILER_TARGET_ARCHS = vxWorks-68040 solaris-sparc
#CROSS_COMPILER_TARGET_ARCHS = vxWorks-68040
#CROSS_COMPILER_TARGET_ARCHS = RTEMS-mvme2100

View File

@@ -0,0 +1,10 @@
# CONFIG_SITE.linux-x86_64.UnixCommon
$
# $Id$
#
# Site Specific configure override definitions
# Only the local epics system manager should modify this file
CC = $(GNU_BIN)/$(CMPLR_PREFIX)gcc$(CMPLR_SUFFIX)
CCC = $(GNU_BIN)/$(CMPLR_PREFIX)g++$(CMPLR_SUFFIX)

View File

@@ -0,0 +1,17 @@
# CONFIG_SITE.linux-x86_64.linux-x86_64
#
# $Id$
#
# Site specific definitions for linux-x86_64 host - linux-x86_64 target builds
#-------------------------------------------------------
# -z defs causes problems for Linux
#The -z defs option causes the linker to not ignore
# unresolved references when building a shared library
# Forces a fatal error if any undefined symbols remain
# at the end of the link
# So we will override the definition of SHRLIB_LDFLAGS
# in "CONFIG.linux-x86_64.linux-x86_64"
SHRLIB_LDFLAGS= -shared

View File

@@ -0,0 +1,21 @@
# CONFIG_SITE.linux-x86_64.vxWorks-68040
#
# $Id$
#
# Site specific definitions for linux-x86_64 host - vxWorks-68040 target builds
# Only the local epics system manager should modify this file
#-------------------------------------------------------
# JBA test override values
#CMPLR_SUFFIX=
#GNU_TARGET=m68k-wrs-vxworks
#CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
# ORNL SNS overrides for cross compilers
#VX_DIR = /opt/tornado20/
#VX_CONFIG_DIR_YES = $(VX_DIR)/target/config
#VX_INCLUDE_YES = /usr/local/crossgcc/m68k/m68k-wrs-vxworks/sys-include
#VX_GNU_YES = /usr/local/crossgcc/m68k/
#VX_GNU_BIN_YES = $(VX_GNU)/bin
#VX_GNU_LIB_YES = /usr/local/crossgcc/m68k/lib/gcc-lib/m68k-wrs-vxworks/2.95.2

View File

@@ -0,0 +1,17 @@
# CONFIG_SITE.linux-x86_64.vxWorks-ppc603
#
# $Id$
# This file is maintained by the build community.
#
# Site override definitions for linux-x86_64 host - vxWorks-ppc603 target builds
#-------------------------------------------------------
# This file contains overrides for Vx builds
# ORNL SNS overrides for cross compilers
# The custom cross compiler for VxWorks on Linux
# has place in a directory structure like that of
# the Solaris distribution. So now the cross should
# only need the following line.
# cross-compiler from "Linux x86pc" host to a "ppc603" target
VX_DIR_YES = /ade/vxWorks/t202/ppc

View File

@@ -0,0 +1,17 @@
# CONFIG_SITE.linux-x86_64.vxWorks-ppc603_long
#
# $Id$
# This file is maintained by the build community.
#
# Site override definitions for linux-x86_64 host - vxWorks-ppc603 target builds
#-------------------------------------------------------
# This file contains overrides for Vx builds
# ORNL SNS overrides for cross compilers
# The custom cross compiler for VxWorks on Linux
# has place in a directory structure like that of
# the Solaris distribution. So now the cross should
# only need the following line.
# cross-compiler from "Linux x86pc" host to a "ppc603" target
VX_DIR_YES = /ade/vxWorks/t202/ppc

View File

@@ -0,0 +1,12 @@
# CONFIG_SITE.linux-x86_64.vxWorks6-mv2100
#
# $Id$
# This file is maintained by the build community.
#
# Site override definitions for linux-x86_64 host - vxWorks6-mv2100 target builds
#-------------------------------------------------------
# WindRiver has changed the directory structure of vxWorks
# This is for Tornado 3 (i.e. VxWorks 6.0)
VX_DIR = /ade/vxWorks/6.0

View File

@@ -0,0 +1,12 @@
# CONFIG_SITE.linux-x86_64.vxWorks6-mv5100
#
# $Id$
# This file is maintained by the build community.
#
# Site override definitions for linux-x86_64 host - vxWorks6-mv5100 target builds
#-------------------------------------------------------
# WindRiver has changed the directory structure of vxWorks
# This is for Tornado 3 (i.e. VxWorks 6.0)
VX_DIR = /ade/vxWorks/6.0

View File

@@ -0,0 +1,11 @@
# CONFIG_SITE.linux-x86_64.vxWorksCommon
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for linux-x86_64 host - vxWorks target builds
#-------------------------------------------------------
# SNS override values
#WIND_HOST_TYPE = x86-linux

View File

@@ -1,3 +1,4 @@
include $(CONFIG)/os/CONFIG_SITE.Common.solaris-sparc
#Prepares the object code to collect data for profiling with prof.
#PROFILE=YES

View File

@@ -1,3 +1,4 @@
include $(CONFIG)/os/CONFIG_SITE.Common.solaris-sparc
#Prepares the object code to collect data for profiling with prof.
#PROFILE=YES

View File

@@ -0,0 +1,17 @@
# CONFIG_SITE.win32-x86-mingw.Common
#
# $Id$
#
# Site Specific definitions for cygwin-x86 target
# Only the local epics system manager should modify this file
# If readline is not installed comment the following line
# to omit command-line editing and history support
#COMMANDLINE_LIBRARY = READLINE
# Needed to find dlls for gcc, g++, as, cpp, ...
# if MINGW_BIN not in user's path
MINGW_BIN=C:/MinGW/bin
export PATH := $(MINGW_BIN):$(PATH)
PERL=c:/cygwin/bin/perl.exe

View File

@@ -2,7 +2,7 @@
# Microsoft Visual C++ .NET is the default compiler
# If you have Visual C++ 6.0, uncomment the following override lines
# This will to eliminate warnings about unknown options /GL, LTCG, and /44355.
# This will to eliminate warnings about unknown options /GL, /LTCG, and /w44355.
#OPT_CFLAGS_YES = /Ox
#OPT_CXXFLAGS_YES = /Ox
#OPT_CFLAGS_NO = /Zi
@@ -12,4 +12,8 @@
#WARN_CXXFLAGS_YES = /W3
# iF you have Visual C++ 8.0 or 8.0 express, uncomment the following override.
# This will to eliminate warnings about /GX being deprecated.
#
#CCC = cl /nologo /EHsc /GR

View File

@@ -18,9 +18,7 @@ eval 'exec perl -S $0 ${1+"$@"}' # -*- Mode: perl -*-
use Cwd qw(cwd abs_path);
use Getopt::Std;
$cwd = cwd();
$cwd =~ s/\/tmp_mnt//; # hack for sun4
$cwd =~ s/\\/\//g; # hack for win32
$cwd = UnixPath(cwd());
getopt "ahtT";
@@ -41,7 +39,6 @@ if ($opt_T) {
$top = $cwd;
$top =~ s/\/iocBoot.*$//;
$top =~ s/\/configure.*$//;
chomp($top = `cygpath -m $top`) if ($^O eq "cygwin");
}
# The IOC may need a different path to get to $top
@@ -67,7 +64,7 @@ unless (@ARGV == 1) {
$outfile = $ARGV[0];
# TOP refers to this application
%macros = (TOP => $top);
%macros = (TOP => LocalPath($top));
@apps = (TOP); # Records the order of definitions in RELEASE file
# Read the RELEASE file(s)
@@ -316,3 +313,27 @@ sub checkRelease {
print "\n" if ($status);
exit $status;
}
# Path rewriting rules for various OSs
# These functions are duplicated in src/makeBaseApp/makeBaseApp.pl
sub UnixPath {
my ($newpath) = @_;
if ($^O eq "cygwin") {
$newpath =~ s|\\|/|go;
$newpath =~ s%^([a-zA-Z]):/%/cygdrive/$1/%;
} elsif ($^O eq 'sunos') {
$newpath =~ s(^\/tmp_mnt/)(/);
}
return $newpath;
}
sub LocalPath {
my ($newpath) = @_;
if ($^O eq "cygwin") {
$newpath =~ s%^/cygdrive/([a-zA-Z])/%$1:/%;
} elsif ($^O eq "darwin") {
# These rules are likely to be site-specific
$newpath =~ s%^/private/var/auto\.home/%/home/%; # APS
}
return $newpath;
}

View File

@@ -31,15 +31,24 @@ sub Usage
exit 2;
}
while ( $errline = <> ) {
if ( $errline =~ m/^(Warning|Error)/ ) {
($errno) = ($errline =~ m/.* ([0-9]+):/);
$codeline = <>;
$pointline = <>;
next if $codeline =~ m|/[/*]\s*X.*aCC[^a-zA-Z]*$errno|;
# Invalid whit space filter on solaris not implemented
#if ( $ENV{"EPICS_HOST_ARCH"} =~ m/solaris-sparc/ ) {
# while ( $errline = <> ) {
# if ( $errline !~ m/invalid white space character in directive/ ) {
# print $errline;
# }
# }
#} else {
while ( $errline = <> ) {
if ( $errline =~ m/^(Warning|Error)/ ) {
($errno) = ($errline =~ m/.* ([0-9]+):/);
$codeline = <>;
$pointline = <>;
next if $codeline =~ m|/[/*]\s*X.*aCC[^a-zA-Z]*$errno|;
print wrap ("", " ", $errline);
print $codeline;
print $pointline;
print wrap ("", " ", $errline);
print $codeline;
print $pointline;
}
}
}
#}

View File

@@ -1,10 +1,20 @@
eval 'exec perl -S -w $0 ${1+"$@"}' # -*- Mode: perl -*-
if 0;
#
# Determine fullpathname if argument starts with "."
# else return argument value.
#
use Cwd 'abs_path';
my $dir;
if( $ARGV[0] )
{
$dir = abs_path("$ARGV[0]");
print "$dir\n";
if( $ARGV[0] ) {
if( $ARGV[0] =~ /^\./ )
{
$dir = abs_path("$ARGV[0]");
$dir =~ s/\/tmp_mnt//;
print "$dir\n";
} else {
print "$ARGV[0]\n";
}
}

View File

@@ -0,0 +1,33 @@
eval 'exec perl -S $0 ${1+"$@"}' # -*- Mode: perl -*-
if $running_under_some_shell; # makeDbDepends.pl
# Called from within RULES.Db in the Db directories.
# Searches .substitutions and .template files (from the command line) for
# "file xxx {" entries to create a DEPENDS file
# and
# 'include "xxx"' entries to create a DEPENDS file
$target = $ARGV[0];
shift @ARGV;
foreach $file (@ARGV) {
open(IN, "<$file") or die "Cannot open $file: $!";
@infile = <IN>;
close IN or die "Cannot close $file: $!";
@depends = grep { s/^\s*file\s*(.*)\s*\{.*$/\1/ } @infile;
chomp @depends;
if (@depends) {
print "$target: @depends\n";
}
@depends2 = grep { s/^\s*include\s*\"\s*(.*)\s*\".*$/\1/ } @infile;
chomp @depends2;
if (@depends2) {
print "$target: @depends2\n";
}
}

View File

@@ -106,7 +106,7 @@ foreach $name ( @nameList ) {
print OUT "${name}_RESS+=\$(addsuffix \$(RES),\$(basename \$(${name}_RCS)))\n";
print OUT "${name}_OBJSNAME+=\$(addsuffix \$(OBJ),\$(basename \$(${name}_OBJS)))\n";
print OUT "${name}_DEPLIBS=\$(foreach lib, \$(${name}_LDLIBS),\\\n";
print OUT " \$(firstword \$(wildcard \$(addsuffix /\$(LIB_PREFIX)\$(lib)\*,\\\n";
print OUT " \$(firstword \$(wildcard \$(addsuffix /\$(LIB_PREFIX)\$(lib).\*,\\\n";
print OUT " \$(\$(lib)_DIR) \$(SHRLIB_SEARCH_DIRS)))\\\n";
print OUT " \$(addsuffix /\$(LIB_PREFIX)\$(lib)\$(LIB_SUFFIX),\\\n";
print OUT " \$(firstword \$(\$(lib)_DIR) \$(SHRLIB_SEARCH_DIRS))\/)))\n";
@@ -121,12 +121,12 @@ foreach $name ( @nameList ) {
print OUT "${name}_RESS+=\$(addsuffix \$(RES),\$(basename \$(${name}_RCS)))\n";
print OUT "${name}_OBJSNAME+=\$(addsuffix \$(OBJ),\$(basename \$(${name}_OBJS)))\n";
print OUT "${name}_DEPLIBS=\$(foreach lib, \$(${name}_LDLIBS),\\\n";
print OUT " \$(firstword \$(wildcard \$(addsuffix /\$(LIB_PREFIX)\$(lib)\*,\\\n";
print OUT " \$(firstword \$(wildcard \$(addsuffix /\$(LIB_PREFIX)\$(lib).\*,\\\n";
print OUT " \$(\$(lib)_DIR) \$(SHRLIB_SEARCH_DIRS)))\\\n";
print OUT " \$(addsuffix /\$(LIB_PREFIX)\$(lib)\$(LIB_SUFFIX),\\\n";
print OUT " \$(firstword \$(\$(lib)_DIR) \$(SHRLIB_SEARCH_DIRS))\/)))\n";
print OUT "${name}_DLL_DEPLIBS=\$(foreach lib, \$(${name}_DLL_LIBS),\\\n";
print OUT " \$(firstword \$(wildcard \$(addsuffix /\$(LIB_PREFIX)\$(lib)\*,\\\n";
print OUT " \$(firstword \$(wildcard \$(addsuffix /\$(LIB_PREFIX)\$(lib).\*,\\\n";
print OUT " \$(\$(lib)_DIR) \$(SHRLIB_SEARCH_DIRS)))\\\n";
print OUT " \$(addsuffix /\$(LIB_PREFIX)\$(lib)\$(LIB_SUFFIX),\\\n";
print OUT " \$(firstword \$(\$(lib)_DIR) \$(SHRLIB_SEARCH_DIRS))\/)))\n";
@@ -144,12 +144,12 @@ foreach $name ( @nameList ) {
print OUT "${name}_RESS+=\$(addsuffix \$(RES),\$(basename \$(${name}_RCS)))\n";
print OUT "${name}_OBJSNAME+=\$(addsuffix \$(OBJ),\$(basename \$(${name}_OBJS)))\n";
print OUT "${name}_DEPLIBS=\$(foreach lib, \$(${name}_LDLIBS),\\\n";
print OUT " \$(firstword \$(wildcard \$(addsuffix /\$(LIB_PREFIX)\$(lib)\*,\\\n";
print OUT " \$(firstword \$(wildcard \$(addsuffix /\$(LIB_PREFIX)\$(lib).\*,\\\n";
print OUT " \$(\$(lib)_DIR) \$(SHRLIB_SEARCH_DIRS)))\\\n";
print OUT " \$(addsuffix /\$(LIB_PREFIX)\$(lib)\$(LIB_SUFFIX),\\\n";
print OUT " \$(firstword \$(\$(lib)_DIR) \$(SHRLIB_SEARCH_DIRS))\/)))\n";
print OUT "${name}_DLL_DEPLIBS=\$(foreach lib, \$(${name}_DLL_LIBS),\\\n";
print OUT " \$(firstword \$(wildcard \$(addsuffix /\$(LIB_PREFIX)\$(lib)\*,\\\n";
print OUT " \$(firstword \$(wildcard \$(addsuffix /\$(LIB_PREFIX)\$(lib).\*,\\\n";
print OUT " \$(\$(lib)_DIR) \$(SHRLIB_SEARCH_DIRS)))\\\n";
print OUT " \$(addsuffix /\$(LIB_PREFIX)\$(lib)\$(LIB_SUFFIX),\\\n";
print OUT " \$(firstword \$(\$(lib)_DIR) \$(SHRLIB_SEARCH_DIRS))\/)))\n";

View File

@@ -165,7 +165,7 @@ example_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary
</ul>
<p>After these changes are made the following files are no longer needed:
baseLIBOBS, Makefile.Host, and Makefile.Vx</p>
baseLIBOBJS, Makefile.Host, and Makefile.Vx</p>
<h3>File base.dbd no longer needed</h3>
@@ -188,18 +188,18 @@ file.</blockquote>
The structure rset is now a typedef so change
<blockquote>
<pre>struct rset <recordname>RSET={ ...</pre>
<pre>struct rset &lt;recordname&gt;RSET={ ...</pre>
</blockquote>
to
<blockquote>
<pre>rset <recordname>RSET={ ...</pre>
<pre>rset &lt;recordname&gt;RSET={ ...</pre>
</blockquote>
and add the following line after the "rset &lt;recordname&gt;RSET="
definition.
<blockquote>
<pre>epicsExportAddress(rset,xxxRSET);</pre>
<pre>epicsExportAddress(rset,&lt;recordname&gt;RSET);</pre>
</blockquote>
</blockquote>
@@ -211,7 +211,8 @@ file.</blockquote>
<blockquote>
<pre>#include "epicsExport.h"</pre>
</blockquote>
and add the following line after the dset dev&lt;devname&gt; definition
and add the following line after the dset definition:
struct { ...} dev&lt;devname&gt;= { ...};
<blockquote>
<pre>epicsExportAddress(dset,dev&lt;devname&gt;);</pre>
@@ -316,12 +317,12 @@ $(TOP)/configure/CONFIG"</tt></p>
<p>Change</p>
<p><tt>include ARCH = &lt;old arch specification e.g. mv167&gt;</tt></p>
<p><tt>ARCH = &lt;old arch specification e.g. mv167&gt;</tt></p>
<p>to</p>
<p>"<tt>include ARCH = &lt;new arch specification e.g.
vxWorks-68040&gt;"</tt></p>
<p><tt>ARCH = &lt;new arch specification e.g.
vxWorks-68040&gt;</tt></p>
<p>Change "<tt>include $(TOP)/config/RULES.ioc</tt>" to "<tt>include
$(TOP)/configure/RULES.ioc"</tt></p>
@@ -347,7 +348,7 @@ ld &lt; iocCore</pre>
<p>Change the statement:</p>
<p><tt>dbLoadDatabase("../../dbd/exampleApp.dbd")</tt> <br>
<p><tt>dbLoadDatabase("../../dbd/&lt;name&gt;App.dbd")</tt> <br>
</p>
to
<pre>dbLoadDatabase("../../dbd/&lt;name&gt;.dbd")

View File

@@ -0,0 +1,163 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="jba">
</head>
<body>
<center>
<h2>Converting an EPICS R3.14.5 application to R3.14.6</h2>
</center>
<p>This document describes how to convert a R3.14.5 application so that it
builds with release R3.14.6.</p>
<h3>Modify the Makefiles in &lt;top&gt;/iocBoot directory.</h3>
<p>Change " i<tt>nclude $(TOP)/config/CONFIG_APP" </tt>to "<tt>include
$(TOP)/configure/CONFIG"</tt></p>
<p>If they do not already exist, add the lines
<blockquote>
<p><tt>DIRS += $(wildcard *ioc*)</tt></p>
<p><tt>DIRS += $(wildcard as*)</tt></p>
</blockquote>
<p>Change <tt>"include $(TOP)/config/RULES.iocBoot" </tt>to "i<tt>nclude
$(TOP)/configure/RULES_DIRS"</tt></p>
<h3>Modify the Makefiles in &lt;top&gt;/iocBoot/ioc* directories.</h3>
<p>Change <tt>"include $(TOP)/config/CONFIG_APP" </tt>to "<tt>include
$(TOP)/configure/CONFIG"</tt></p>
<p>Change</p>
<p><tt>ARCH = &lt;old arch specification e.g. mv167&gt;</tt></p>
<p>to</p>
<p><tt>ARCH = &lt;new arch specification e.g.
vxWorks-68040&gt;</tt></p>
<p>Change "<tt>include $(TOP)/config/RULES.ioc</tt>" to "<tt>include
$(TOP)/configure/RULES.ioc"</tt></p>
<p>If it exists remove the line</p>
<p><tt>buildInstall: cdCommands </tt></p>
<p>Add the line</p>
<p><tt>TARGETS = cdCommands</tt></p>
<p>before the include for RULES.ioc line.</p>
<h3>Modify st.cmd in &lt;top&gt;/iocBoot/ioc* directories.</h3>
<p>Remove the lines</p>
<pre>ld &lt; seq
ld &lt; iocCore</pre>
<p>Change "<tt>ld &lt; &lt;libname&gt;Lib</tt>" to "<tt>ld &lt;
&lt;libname&gt;.munch"</tt></p>
<p>Change "<tt>cd appbin</tt>" to "<tt>cd topbin</tt>"</p>
<p>Change the statement:</p>
<p><tt>dbLoadDatabase("../../dbd/&lt;name&gt;App.dbd")</tt> <br>
</p>
to
<pre>dbLoadDatabase("../../dbd/&lt;name&gt;.dbd")
&lt;name&gt;_registerRecordDeviceDriver(pdbbase)</pre>
<p>where &lt;name&gt; is replaced with the name of your dbd file.</p>
<h3>recGbl calls</h3>
<p>If any source file makes calls to recGbl routines make sure it has <span
style="font-family: courier">"#include "recGbl.h"</span>. If it doesn't the
compiler will issue warning messages and the ioc may issue the message:
"undefined symbol: _recGblSetSevr".</p>
<h3>Record support changes</h3>
<p>The steppermotor, scan, and pid records are no longer in base.  If these
records are not used in your application, comment out references to them in
base.dbd. If these record types are used at your site, they  should be
downloaded and built with base R3.14 by your EPICS administrator. To update
the R3.14 location of these record types in your application you must  add
appropriate module definitions to your application's config/RELEASE file and
add <tt>LIBOBJS</tt> definitions to the src Makefile.</p>
<p>For example add</p>
<p>         <tt>PID=&lt;full path to modules directory&gt;/pid</tt></p>
<p>to config/RELEASE and add <br>
<p></p>
<p><tt>LIBOBJS += $(PID_BIN)/pidRecord.o</tt></p>
to your application src/Makefile.
<p>You should consider changing any existing old steppermotor records to the
new EPICS  motor record  module supported by Beamline Controls and Data
Acquisition at APS.</p>
<h3>RecDynLink.o and devPtSoft changes</h3>
<p>recDynLink.o and devPtSoft.o are no longer in EPICS base and now exist as
separate EPICS modules.You must now add the appropriate module full path
definitions to your application config/RELEASE file, and change
<tt>LIBOBJS</tt> location definition <tt>$(EPICS_BASE_BIN)</tt> to the module
definition bin directory in your application src directory files.  See
"Hardware support changes" below for instructions.</p>
<h3>Hardware support changes</h3>
<p>All hardware support (dev, drv and dbd files) except soft support has been
unbundled from base R3.14. This support includes the files symb.dbd,
drvHp1404a.o, drvEpvxiMsg.o, and drvEpvxi.o. If these are not used by your
application, comment out references to them in base.dbd.</p>
<p>Hardware support now exists as separate EPICS modules. The hardware
support for your site should be downloaded and built with base R3.14 by your
EPICS administrator. You must now add the appropriate module full path
definitions to your application config/RELEASE file, and change
<tt>LIBOBJS</tt> location from <tt>$(EPICS_BASE_BIN) </tt>to the module  bin
directory in your application src directory files.</p>
<p>For example, remove</p>
<p>         <tt>LIBOBJS+=$(EPICS_BASE_BIN)/symb</tt></p>
<p>from baseLIBOBJS and add</p>
<p>         <tt>LIBOBJS+=$(SYMB_BIN)/symb</tt></p>
<p>to your application src/Makefile, <br>
and add the line</p>
<p><tt>SYMB=&lt;full path definition for the built module SYMB&gt;</tt></p>
<p>into your application config/RELEASE file .</p>
<h3>dbLoadtemplate tool changes</h3>
<p>The host tool dbLoadTemplate has been replace by a new EPICS extension,
msi, which should be downloaded and built with base R3.14 by your EPICS
administrator. dbLoadTemplate is still supported on iocs.  If, in your
application, db files are created from template and substitution files you
should  add the definition</p>
<p><tt>MSI=&lt;full path name to msi executable&gt;</tt></p>
<p>to your application config/RELEASE file.</p>
<br>
 </body>
</html>

View File

@@ -0,0 +1,23 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="jba">
</head>
<body>
<center>
<h2>Converting an EPICS R3.14.7 application to R3.14.8</h2>
</center>
<p>This document describes how to convert a R3.14.7 application
so that it builds and runs properly with release R3.14.8.</p>
<h3>No changes required.</h3>
</body>
</html>
~

Some files were not shown because too many files have changed in this diff Show More