forked from SDL-Hercules-390/hyperion
-
Notifications
You must be signed in to change notification settings - Fork 0
kenx00/hyperion
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
B u i l d i n g H e r c u l e s If you're simply trying to figure out how to build Hercules from the distributed source files (i.e. NOT from the CVS sources), then skip to the "Building Hercules" section further below. BUILD PREPARATION ----------------- In order to build Hercules from the CVS sources, you must have installed: Package Version (or greater!) ---------------------------------- autoconf 2.50 (or greater!) automake 1.5 (or greater!) flex 2.5 (or greater!) gawk 3.0 (or greater!) gcc 2.95 (or greater!) gettext 0.11 (or greater!) grep 2.5 (or greater!) libiconv 1.8 (or greater!) libintl 0.10 (or greater!) m4 0.0 (or greater!) make 3.79 (or greater!) perl 5.6 (or greater!) sed 3.02 (or greater!) All of these tools can be found at www.gnu.org in source code form, and are also widely available in packaged form (RPM, DEB, Solaris packages, etc.). Once you have these tools installed, simply enter the command: sh ./autogen.sh This will, among other things, create you a shell script called "configure". The resulting configure script (created by the above 'autogen' command) is then what you use to build Hercules with. (It will probably create a bunch of other directories and files too, but we're mostly concerned about the configure script). Note: even though the CVS sources already come with a configure script, it may or may not be current/correct, so you should always run autogen at least one time after checking out the current source from CVS. Once you've run autogen once though, then you shouldn't need to ever run it again (unless another developer changes something, but they should let you know if they do). BUILDING HERCULES ----------------- Now that a 'configure' script has been built for us, let's use it! :) (Note: if you're simply trying to build Hercules from the distributed source files (i.e. NOT from the CVS sources), then just use the 'configure' script that should have been included with the source distribution tarball.) Before you trying using the configure script, you may wish to review the information in the INSTALL file. It contains generic installation instructions for how to build/install most any package. The instructions there pertain just as much to Hercules as they do to any other package. Since the information there is pretty detailed however, rather than try to slog your way through it all, you may wish to first review the below summarized version first. Briefly, the way you build Herc is to first "configure" the building process and then invoke your pre-configured building process. The build process basically consists of a 'make' command which processes a 'makefile'. The makfile however needs to be customized for your system. That's what the "configure" script does. It contructs a customized makefile and that is what is meant by "configuring your building process". Here's the entire build process step-by-step: To build Herc, first switch to the directory where the source files are and then configure the build process by entering the following command: ./configure (Note: you may or may not wish to enter additional parameters to the configure command. See further below) Then simply invoke your pre-configured build process by entering the following command: make That's it! The 'make' command should build Hercules for you. After it's been built, you may or may not wish to "install" it. To "install" Hercules into the default package installation directory after building it, enter the following command: make install That will copy the just built binaries to their proper place. To uninstall Hercules once it's been installed, simply enter the command: make uninstall and the previously copied files will be removed (deleted). Note: you may or may not wish to add some additional parameters to the above mentioned "configure" command. One of the more common ones for those who are building Herc under Cygwin is "--enable-fthreads". Enter "./configure --help" for more information regarding the various parameters that Hercules's customized "configure" script supports for building Hercules. -- Matt Zimmerman <[email protected]> 08 Oct, 2001 updated in detail by: "Fish" (David B. Trout) 30 Jul, 2002
About
The SoftDevLabs (SDL) version of the Hercules 4.x Hyperion System/370, ESA/390, and z/Architecture Emulator
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C 69.6%
- Assembly 18.0%
- HTML 5.1%
- Shell 2.0%
- Scilab 1.5%
- Makefile 1.3%
- Other 2.5%