diff --git a/README.WIN32 b/README.WIN32 index 93f3d4667..0ce3df927 100644 --- a/README.WIN32 +++ b/README.WIN32 @@ -19,32 +19,30 @@ Right now this port of EPICS to WIN32 should allow you to (no drivers/devices for real I/O available, yet. Some Greenspring IP support [Relay, Dig, ADC, DAC] is in progress) * build and use ca.dll on NT or Win95 to access all IOCs, - as well as the Com-library as a DLL. + as well as the Com-library, gdd-library, and cas-library as DLLs. The remaining libraries are statically linked and therefore only accessible from programming languages like C, not general WIN32 apps. * build gdd, cas and a demo of the new portable CA server on WIN32. -* missing: the sequencer, makeExampleApp etc. and long term tests 1) see what you have -------------------- To compiler EPICS on WIN32, we need - WindRiver Systems Tornado (used: 1.0) - Microsoft Visual C (used: 4.0) + WindRiver System's Tornado (used: 1.0) (not required if host only build) + Microsoft's Visual C/C++ (used: 4.0) (borland C++ rumored to work also) and some tools: - gnu make - perl + gnu make www.gnu.org + perl www.perl.org (used 5.003) The perl interpreter and gnu make are available 'on the net' as sources which compile with MS Visual C++. If you cannot/don't want to find them, contact me, please! 2) set environment variables ----------------------------- Your path should include: - The EPICS-binaries that we are about to build in base/bin/WIN32 @@ -59,15 +57,15 @@ C:\WINNT35.0; c:\msdev\bin; c:\perl5\bin; c:\make-3.75\WinRel; -c:\epics\base\bin\win32 +c:\epics\base\bin\win32 (really where INSTALL_LOCATION specifies) On NT, "Path" is defined by the operatin system, on Win95, it's "PATH" instead. MS Visual C and Tornado should be installed properly with these env. variables set: -WIND_BASE=c:\Tornado -WIND_HOST_TYPE=x86-win32 +WIND_BASE=c:\Tornado (required for cross development only) +WIND_HOST_TYPE=x86-win32 (required for cross development only) This way the EPICS makesystem can locate Tornado without any changes to the files in base/config. @@ -79,36 +77,32 @@ MSDevDir=C:\MSDEV include=c:\msdev\include;c:\msdev\mfc\include lib=c:\msdev\lib;c:\msdev\mfc\lib +Select host arch to build: +HOST_ARCH=WIN32 (used by the make system) + +Special note: configuring EPICS_CA_AUTO_CA_ADDR_LIST under WIN32 +---------------------------------------------------------------- +Currently if EPICS_CA_AUTO_CA_ADDR_LIST is YES (the default) +then the ca address list will be initialized to the broadcast address of +one of the interfaces on the WIN32 host (in the near future this will be +fixed so that the broadcast addresses of all interfaces is used as on other os). +If EPICS_CA_AUTO_CA_ADDR_LIST is NO behavior is as described in the CA +reference manual. + (Setting env. vars. is different: for NT, use Settings/System, for Win95 use autoexec.bat) -For EPICS, set: - -# select host arch to build: -HOST_ARCH=WIN32 -HOME=??? # if you use $(HOME)/EPICS_CONFIG - -EPICS_CA_ADDR_LIST 128.165.32.255 (addr of WIN32 host) -EPICS_CA_AUTO_CA_ADDR_LIST NO -EPICS_CA_CONN_TMO 30.0 -EPICS_CA_BEACON_PERIOD 15.0 -EPICS_CA_REPEATER_PORT 5065 -EPICS_CA_SERVER_PORT 5064 -EPICS_TS_MIN_WEST 420 (Germany: -120) - - 3) building EPICS ----------------- Prepare apx. 2 ltr. Tee and type: cd /base - make + make (use gnu make) Watch for errors and send them to me. -There might be loads of compiler warnings. -Known errors: +Known problems: * gnumake seems to be faster than WIN32 sometimes which results in warnings/errors like "file has modification date in the future"