Platform Notes (OS/2)
Jump to navigation
Jump to search
This article documents one or more features currently implemented only in
cvs-current
, and as such, may not apply to any current, official release.Contents
Port Status
OS/2 is a Tier 2 Port
Verified Releases
- FreeM cvs-current (23 Mar 2025)
Testing Details
We build and test the OS/2 port on an ArcaOS 5.1 VM running in VirtualBox.
Building and Installing
Currently, the OS/2 port is only tested on ArcaOS, and you will need to install several things in order to build and run:
- autoconf
- automake
- gcc
- readline-devel
- bash
- binutils-devel
- coreutils
- emxrt
- gawk
- gcc-wlink
- gcc-wrt
- grep
- info
- libc-devel
- libtool
- kbuild-make
- sed
- tar
- gzip
All of these can be installed with yum install
or the Arca Noae Package Manager (ANPM).
Once the dependencies are met, simply download and extract the FreeM source code, and follow these steps:
- Open an OS/2 Window (in the Command Prompts folder in OS/2 System or Computer on the desktop)
- Run the following commands:
[C:\] bash $ autoreconf --install # only needed if installing from the CVS repo $ ./configure CC=gcc GREP=grep $ make $ make install
Once this is done, proceed to the next section.
Workarounds
Under OS/2 and ArcaOS, FreeM binaries are installed under C:\USR\LOCAL\BIN
, but the FreeM daemon and the FreeM interpreter cannot be launched from the same executable (the daemon will start, but interpreters will give an error resembling Resource busy
).
- Copy
C:\USR\LOCAL\BIN\freem.exe
toC:\USR\LOCAL\BIN\freemd.exe
Running
- Open an OS/2 Window command prompt
- Run
bash
- Run
/usr/local/bin/freemd -dk
to start the FreeM daemon - Minimize the FreeM daemon process
- Open a second OS/2 Window command prompt
- Run the following commands:
[C:\] CD \USR\LOCAL\BIN [C:\USR\LOCAL\BIN] FREEM
Platform Limitations
Required Kernel Tuning
Coming soon.