| 61 | | Preliminary, as provided by Tobias Huerlimann. |
| 62 | | |
| 63 | | Compiling GnuPG shouldn't be a problem anymore because of the OS/2 specific handwritten makefiles (Makefile.os2). |
| 64 | | Software requirements |
| 65 | | |
| 66 | | To compile GnuPG for OS/2 you need the following software: |
| 67 | | |
| 68 | | * Innotek GCC. |
| 69 | | * EMX GCC should also work (older releases were compiled with it), but you will have to adapt some things. |
| 70 | | * GNU Make |
| 71 | | The makefiles are not in nmake syntax |
| 72 | | * A unixish shell, for example: Bash |
| 73 | | * A LibINTL library that knows UNIXROOT (e.g. I used the gettext package from Innotek) |
| 74 | | * libbzip2, for example from Hobbes |
| 75 | | |
| 76 | | Additional software is needed to create the man pages in INF format or the NLS files. |
| 77 | | |
| 78 | | * IPFC from the OS/2 Developer's Toolkit |
| 79 | | For the creation of the INF file |
| 80 | | * msgfmt.exe from the GNU gettext package |
| 81 | | For the creation of the NLS packages |
| 82 | | |
| 83 | | If you also want to install GnuPG via the makefiles, the following tools should be in PATH: |
| 84 | | |
| 85 | | * cp |
| 86 | | * cmp |
| 87 | | * mkdir |
| 88 | | * test |
| 89 | | |
| 90 | | Build process |
| 91 | | |
| 92 | | 1. Makefile.os2 assumes that the shell is called sh.exe. If that is not the case, please change Makefile.os2.config accordingly. |
| 93 | | 2. If you want to change the install destination (default: %UNIXROOT%/usr), please edit: |
| 94 | | * Makefile.os2.config |
| 95 | | * os2/os2init.c |
| 96 | | 3. If you do not have IPFC or msgfmt.exe and therefore cannot create the INF documentation or the NLS packages, delete the directories "doc" and "po" from the variable "SUBDIRS" in Makefile.os2. |
| 97 | | 4. Now "make -f Makefile.os2" should be enough to compile GnuPG. |
| 98 | | 5. Optional: "make -f Makefile.os2 check" runs a small testsuite. You have to install rndos2.dll or RexxEGD before that. |
| 99 | | 6. Optional: "make -f Makefile.os2 install-files" installs GnuPG in the %UNIXROOT% hierarchy. |
| 100 | | |
| 101 | | [[br]] |