Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:develop:bldenv [2018/08/24 16:28] – prokushev | en:develop:bldenv [2023/11/07 05:53] (current) – prokushev | ||
---|---|---|---|
Line 3: | Line 3: | ||
==== General description of osFree build system ===== | ==== General description of osFree build system ===== | ||
- | For compilation, | + | ==== The Directory Tree ==== |
- | versions | + | |
- | Also developer-specific | + | Please look at the source code tree to understand how files are to be placed. Please understand that the osFree source tree contains the code for an operating |
- | build-prokushev.conf, | + | |
- | OpenWatcom | + | ==== Global/ |
- | as | + | |
- | needed. | + | Each level of the source tree contains two standard directories: |
- | (http://regina-rexx.sourceforge.net/) may be used. | + | |
- | setting | + | |// |
- | Windows, and .sh -- for Linux}. | + | |// |
+ | |||
+ | Each levels/part of the OS should have a specific | ||
+ | |||
+ | <code c># | ||
+ | |||
+ | and code shared by all commandline tools should include: | ||
+ | |||
+ | <code c># | ||
+ | |||
+ | Try to create | ||
+ | |||
+ | Example of use of common files: | ||
+ | |||
+ | <code c> | ||
+ | // Use the normal OS/2 INCL_ since our toolkit is the OS/2 toolkit | ||
+ | #define INCL_DOSERROR | ||
+ | |||
+ | // Include os2.h | ||
+ | #include <os2.h> | ||
+ | |||
+ | // Include any needed normal C library | ||
+ | #include <malloc.h> | ||
+ | #include <string.h> | ||
+ | |||
+ | // Include all shared code and shared code for command line tools | ||
+ | #include < | ||
+ | #include < | ||
+ | </ |