-
Notifications
You must be signed in to change notification settings - Fork 76
Tru64
Version | Compilers | Status | Tests |
---|---|---|---|
5.1 (Alpha) | GCC 4.2.3 | Compiled | Passed |
5.1 (Alpha) | Compaq 6.5 | Compiled | Passed |
Tru64 is a 64-bit proprietary operating system for Alpha hardware platform initially developed by DEC, HP and IBM under the Open Software Foundation (OSF) initiative. Later Compaq continued its development after DEC acquisition. It is based on the OSF/1 operating system, and previously was named as Digital UNIX.
CMake 2.8.x (it is better to take early versions like 2.8.0) should be compiled easily. But on machines with low memory you can get "out of memory" while compiling CMake. It can happen on a file with the list of commands, so to bypass this problem you can split this list into several files and add them into the compilation process. You also need to register all parts of the list in the CMake code (search for the list name in the code). Additionally, compiling some files after bootstrapping process may also lead to "out of memory" situations because of extensive memory usage for template compilation and linkage, at least with the Compaq compiler. To reduce memory pressure, remove -timplicit_local -no_implicit_include
default CMake compiling options for C++. Be aware that after compiling CMake, the packaging stage still may fail; you can use CMake compiled binary straight out of the build directory, though.
There is a FreeAXP Alpha hardware emulator which supports Tru64, but limited to 128 MB RAM.
There are some official versions of GCC provided by HP under the name of gnupro, but they are quite old like 2.97 or so. You can build your own version of GCC up to 4.8.x, but you can also download the prebuilt version of GCC 4.2.3 from this announcement.
To make it working after unpacking to non-standard location (standard is /usr/local/gcc4
), set the GCC_EXEC_PREFIX
environment variable to something like that (the trailing backslash is important): export GCC_EXEC_PREFIX=/home/user/gcc-4.2.3-osf1-5.1b/gcc4/lib/gcc/
. To run compiled software set the LD_LIBRARY_PATH
environment variable properly also: LD_LIBRARY_PATH=/home/user/gcc-4.2.3-osf1-5.1b/gcc4/lib
. Note, however, that you would need to fix the headers of GCC as some system headers (i.e., /usr/include/pthread.h
) are broken. To fix the headers, call the
/usr/local/gcc4/libexec/gcc/alpha-dec-osf5.1b/4.2.3/install-tools/mkheaders
script, non-standard location of GCC will require to pass installation prefix.
You should not have any problems compiling with Compaq. Use GCC to compile tests.