83 lines
2.4 KiB
Plaintext
83 lines
2.4 KiB
Plaintext
Compiling EPICS on cygwin32 (Windows95/NT)
|
|
---------------------------------------
|
|
|
|
Right now this port of EPICS to cygwin32 it is possible to
|
|
|
|
* compile all of EPICS base except c++ files using Cygnus' beta18
|
|
release of the GNU-win32 tools.
|
|
|
|
To build EPICS on Win95 or NT using cygwin32, we need
|
|
|
|
EPICS base distribution, R3.12.0.beta9 or later, available
|
|
from http://aps.anl.gov/...
|
|
Cygnus's latest gnu-win32 distribution, available from
|
|
http://www.cygnus.com/misc/gnu-win32/ (release b18 or later)
|
|
WindRiver Systems Tornado ( for the vxWorks header files and the
|
|
vxWorks and vxWorks.sym files) (version 1.1 or later)
|
|
Perl,version 5.003 or later, available from
|
|
http://www.perl.org/CPAN/ports/win32/
|
|
|
|
Optional items
|
|
CVS, version 1.9 or later, available from
|
|
http:/www.cyclic.com
|
|
vim ( Vi IMproved), version 4.5 or later, available from
|
|
http://www.cygnus.com/misc/gnu-win32/
|
|
|
|
|
|
BUILD INSTRUCTIONS
|
|
------------------
|
|
|
|
|
|
1) Install the gnu-win32 binary release
|
|
---------------------------------------
|
|
Download the whole release to get the developemnt tools
|
|
|
|
Run cdk.exe and follow the install instructions.
|
|
Install the release into c:\usr\local instead of the
|
|
default directory (<systemdrive>:\gnuwin32\b18)
|
|
(The following steps assume that the install location is
|
|
c:\usr\local)
|
|
|
|
Don't forget to create a \tmp dir and setup the \bin dir.
|
|
(Create a \temp dir if you install cvs.)
|
|
mkdir \tmp
|
|
mkdir \temp
|
|
mkdir \bin
|
|
cd \bin
|
|
copy \usr\local\H-i386-cygwin32\bin\bash.exe sh.exe
|
|
|
|
|
|
2) Install the perl distribution
|
|
--------------------------------
|
|
|
|
3) Install the epics base distribution
|
|
--------------------------------------
|
|
|
|
mkdir <epicsBaseReleaseDir>
|
|
chdir <epicsBaseReleaseDir>
|
|
cp <dirname>\<basereleasename>.Tar.gz .
|
|
gunzip -d <basereleasename>.Tar.gz
|
|
tar xvf <basereleasename>.Tar
|
|
|
|
4) Set environment variables and path
|
|
-------------------------------------
|
|
cd <epicsBaseReleaseDir>
|
|
cygwin32.bat
|
|
|
|
7) Build epics base
|
|
-------------------
|
|
|
|
cd <epicsBaseReleaseDir>
|
|
make
|
|
|
|
8) Create an EPICS application area
|
|
-----------------------------------
|
|
|
|
mkdir <epicsappdir>
|
|
cd <epicsappdir>
|
|
<epicsBaseReleaseDir>\bin\cygwin32\makeBaseApp <epicsBaseReleaseDir>
|
|
|
|
|
|
|
|
|