Quick HiDEOS Install

This is the instructions to help quickly set up HiDEOS and your mvme162.

Define HiDEOS Home

Define a place to put all the HiDEOS related stuff. We made an user login and put everything in the home directory.


Get GNU compiler,gas,binutils,flex,bison (yuck - a lot of stuff) Make a directory under ~hideos for source and install (we called ours gnu_src and gnu_install). Go to the gnu_install directory and make directoies man, lib, bin, and info. Go into the man directory and make directory man1. Some of the install script are confused if directories are not present. IMPORTANT: Make sure your $PATH shell variable has /gnu_install/bin first in it's search path. You must use GNU gcc 2.5.8 or later. You should be using GNU make to build the GNU tools. Use gnumake if you system has it installed already, or retrieve and build it. Be sure to install it in /gnu_install.

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.

  1. 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 )
  2. 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 )
  3. 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 )
  4. gas - Do the exact same thing as binutils
  5. 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.
  1. cd os_code
  2. cp MakeArch.in MakeArch
  3. cd config
  4. Edit HIDEOS_VARS. Make sure the variables at the top are pointing at your installed GNU compiler and tools.
  5. cd ..
  6. 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.
  1. tar xvf hideos.tar
  2. cd hideos
  3. edit MakeArch, make sure
    	ALL_ARCHS = bare162 vx167
    	DEFAULT_ARCH = bare162
  4. cd config
  5. 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
  6. check HIDEOS_VARS_bare162 and HIDEOS_VARS_vx167 quickly
  7. cd ..
  8. 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.
  1. read the EPICS/HIDEOS support file in extensions/src/hideos
  2. make sure that the config files point the HIDEOS variable at your hideos (the HiDEOS source tree) directory
  3. cd extensions/src/hideos
  4. 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.
  1. make sure to adjust the devSup.ascii file and run makesdr
  2. make a database
  3. make the st.cmdmv167 file
  4. boot your IOC

Argonne National Laboratory Copyright Information
Jim Kowalkowski (jbk@aps.anl.gov)
updated 8/8/95