/gnu_install.
IMPORTANT NOTE:
target=sun3 is correct, do not change it! A Sun3
is a 68k machine, so building with target=sun3 will build a cross
compiler from your architecture to the 68k.
- flex
- edit the Makefile and change DESTDIR to /gnu_install
- make first_flex ( be sure to use gnumake )
- make install ( be sure to use gnumake )
- bison - This one is simple, run the following.
- ./configure --prefix=/gnu_install
- make ( be sure to use gnumake )
- make install ( be sure to use gnumake )
- binutils - This will be built as a cross development tool
- run "./config.guess". This will tell you the host architecture.
- ./configure --host=sparc-sun-sunos4.1.3 --target=sun3 --prefix=/gnu_install
Remember to substitute the answer from config.guess for "--host" if it
is different then the above one.
- make ( be sure to use gnumake )
- make install ( be sure to use gnumake )
- gas - Do the exact same thing as binutils
- g++/gcc
- make distclean (ignore if this doesn't work) ( be sure to use gnumake )
- ./configure --with-gnu-as --with-gnu-ld --host=sparc-sun-sunos4.1.3 --target=sun3 --prefix=/gnu_install --local-prefix=/gnu_install
- edit Makefile -
change "ENQUIRE = enquire" to "ENQUIRE="
change "CROSS_TEST = cross-test" to "CROSS_TEST="
change "LANGUAGES = c c++ objective-c proto" to "LANGUAGES = c c++"
- make ( be sure to use gnumake )
- make install ( be sure to use gnumake )
Building HiDEOS C Library Support
Undo the os_code.tar.gz file in the HiDEOS top level directory.
This is the standard c library for the stand alone system. The
string functions, conversion functions, and stdio functions are
built here.
- cd os_code
- cp MakeArch.in MakeArch
- cd config
- Edit HIDEOS_VARS. Make sure the variables at the top are pointing
at your installed GNU compiler and tools.
- cd ..
- make World ( be sure to use gnumake )
Building HiDEOS for the MVME162
Undo the hideos.tar.gz file in the HiDEOS top level directory.
This step will build the 162 stand alone version of HiDEOS and vxWorks
version of HiDEOS.
- tar xvf hideos.tar
- cd hideos
- edit MakeArch, make sure
ALL_ARCHS = bare162 vx167
DEFAULT_ARCH = bare162
- cd config
- edit HIDEOS_VARS
- Make sure the GNU_DIR variable points to your GNU install
- Make sure the CORE_DIR variable points to your os_code directory
- check HIDEOS_VARS_bare162 and HIDEOS_VARS_vx167 quickly
- cd ..
- make World ( be sure to use gnumake )
Building EPICS Device support for HiDEOS
Get extensions/src/hideos directory from EPICS. Use the EPICS source/
release document to help you through this step. This step will build
the EPICS device support routines for HiDEOS.
- read the EPICS/HIDEOS support file
in extensions/src/hideos
- make sure that the config files point the HIDEOS variable at your
hideos (the HiDEOS source tree) directory
- cd extensions/src/hideos
- make install ( be sure to use gnumake )
Set Up the MVME162
Follow the instructions in setting up the
MVME162. Your mvme162 should now be ready to use.
Set Up the EPICS application area
Use the EPICS application developer guide to help with this.
- make sure to adjust the devSup.ascii file and run makesdr
- make a database
- make the st.cmdmv167 file
- boot your IOC
Argonne National Laboratory
Copyright
Information
Jim Kowalkowski ([email protected]) updated 8/8/95