osfree
osfree copied to clipboard
osFree - open source Operating System/2 clone, usermode parts.
-=== osFree, Open Source OS/2 Clone ===- osFree(OS/3): The reincarnation of OS/2.
Русский:
Russian:
Получение исходников
Исходные коды osFree состоят из главного Git-репозитория и нескольких субмодулей. Главный репозиторий: osfree и субмодули:
FamilyAPI, MacroLib, fat32, jfs, os3 и другие.
Поэтому нужно сначала скачать главный репозиторий osfree, и затем подтянуть субмодули:
git clone https://github.com/osfree-project/osfree.git
git submodule update --init --recursive
git submodule update --remote --recursive
Система сборки osFree
Сначала, запустите %root%\conf\scripts\_setup.{cmd|sh|bat}, чтобы скачать необходимые зависимости для сборки. Но прежде всего, нужно установить wget (для случая Windows), если он у вас еще не установлен. Для сборки нужен только OpenWatcom, FreePascal, а также Regina REXX (но, в случае OS/2 хоста, вы можете использовать уже установленную инсталляцию REXX).
Запустите _setup.* для скачивания и установки системы сборки. После окончания работы скрипта можно запустить сборку с помощью _wcc.{cmd|sh}.
Но перед сборкой нужно подправить %root%\conf\scripts\setvars.{sh|cmd|bat}, чтобы указать правильные пути к необходимым для сборки программам, после чего, можно запустить _wcc.{sh|cmd} для сборки.
Замечание. _wcc.cmd автоопределяет ОС (OS/2, win32 или win64) автоматически.
В общем случае, скрипты с расширением .bat у нас обычно специфичны для windows хоста, .cmd для OS/2 хоста, и .sh для UNIX/Linux хоста.
Английский:
English:
Getting the source code
osFree sources consist of the main Git repository and several submodules. The main git repo is osfree, and submodules are:
FamilyAPI, MacroLib, fat32, jfs, os3 and others.
Hence, you need to clone the main osfree repo first, and then pull the submodules:
git clone https://github.com/osfree-project/osfree.git
git submodule update --init --recursive
git submodule update --remote --recursive
osFree build system
First, start %root%\conf\scripts\_setup.{cmd|sh|bat}, to pull the build dependencies. But prior to that, you need to download wget binary (in case of windows), if it is not installed. For building these sources, you only need to install OpenWatcom, FreePascal and Regina REXX (but, in case of OS/2 host, you can use the default REXX interpreter, which is already in the system).
Start _setup.* for downloading the build tools. After finishing the script work, you can start build with _wcc.{sh|cmd}.
But before you start building, you need to edit %root%\conf\scripts\setvars.{sh|cmd|bat} accordingly, to set tools paths. After which, you can start build by launching _wcc.{sh|cmd}.
Note that _wcc.cmd autodetects OS (OS/2, win32 or win64).
Generally, we use .bat scripts specific for windows, .cmd specific to OS/2, and .sh specific to UNIX/Linux.
(c) osFree project, 2002-2022 http://www.osfree.org/