Blame VMS/README.VMS

Packit ed3af9
Dear OpenVMS user,
Packit ed3af9
Packit ed3af9
Installation process is identical to one in *nix* world and consist to 
Packit ed3af9
four simple steps:
Packit ed3af9
1. Installing required libraries
Packit ed3af9
2. Configuration
Packit ed3af9
3. Compiling
Packit ed3af9
4. Installation.
Packit ed3af9
Packit ed3af9
Packit ed3af9
1. Please install required libraries first:
Packit ed3af9
Packit ed3af9
1. ZLIB 1.2 or newer
Packit ed3af9
2. PNG 1.2.12 or newer
Packit ed3af9
3. FreeType 2
Packit ed3af9
4. JPEG 6B
Packit ed3af9
Packit ed3af9
All may be found at OpenVMS libSDL porting project site
Packit ed3af9
http://fafner.dyndns.org/~alexey/libsdl/required.html
Packit ed3af9
Packit ed3af9
Also, system should have MMS make utility from DEC or 
Packit ed3af9
free analogue MMK. And C compiler with runtime, of course. ;)
Packit ed3af9
Packit ed3af9
Packit ed3af9
2. Configuration is doing automatically by a configuration script:
Packit ed3af9
Packit ed3af9
$@[.VMS]CONFIGURE
Packit ed3af9
Packit ed3af9
The script detects hardware,system and required libraries have been installed.
Packit ed3af9
Compilation stage will be prepeared to create shared and static libraries. 
Packit ed3af9
Alpha,IA64 or VAX platform are supported. Optional argument "static" 
Packit ed3af9
tells to configurator to make static libraries only:
Packit ed3af9
Packit ed3af9
$@[.VMS]CONFIGURE STATIC
Packit ed3af9
Packit ed3af9
CONFIGURE script checks your ZLIB, FREETYPE, JPEG, PNG libraries. 
Packit ed3af9
If it detects any troubles, you may get and install good and tested ones 
Packit ed3af9
from OpenVMS libSDL porting project site:
Packit ed3af9
http://fafner.dyndns.org/~alexey/libsdl/required.html
Packit ed3af9
Packit ed3af9
When success, it creates a building script named BUILD.COM
Packit ed3af9
Packit ed3af9
3. Compilation:
Packit ed3af9
Packit ed3af9
$@BUILD
Packit ed3af9
Packit ed3af9
It should be error-free.
Packit ed3af9
Packit ed3af9
When success, it creates a setup script named LIBGD$STARTUP.COM
Packit ed3af9
Packit ed3af9
4. Setup OpenVMS environment before using libGD:
Packit ed3af9
Packit ed3af9
$@LIBGD$STARTUP
Packit ed3af9
Packit ed3af9
LIBGD and its utilites are ready to using.
Packit ed3af9
Packit ed3af9
Optionally you may insert this startup file into your LOGIN.COM 
Packit ed3af9
to set libGD environment every time you login automatically.
Packit ed3af9
Packit ed3af9
To learn libGD please refer libGD official documentation.
Packit ed3af9
Compiling with library should be:
Packit ed3af9
Packit ed3af9
$CC/INCL=LIBGD PROG
Packit ed3af9
$LINK PROG, LIBGD:LIBGD/OPT
Packit ed3af9
Packit ed3af9
Packit ed3af9
Packit ed3af9
yours,
Packit ed3af9
Alexey Chupahin
Packit ed3af9
Rostov-on-Don, Russia
Packit ed3af9
elvis_75@mail.ru  alex@rostov.rs-ultra.ru