index 8bc9c167ad8d345311a0e61fa162e37e482e16b5..5af69d54bd3132781938f50156752eb2d4ca83bd 100644 (file)
--- a/README
+++ b/README
-** Ducumentation (Russian): **
+Ducumentation (Russian):
- http://gitlab.molpit.com/idenisov/blackbox-linux/wikis/home
+ http://gitlab.molpit.com/oberon/blackbox-freenix/wikis/home
+Directories structure:
-** Folders structure: **
+ BlackBox/
+ universal development environment
+ synchronized with original BlackBox 1.6
-./new/
- universal development environment
- synchronized with original BlackBox 1.6
+ examples/
+ some outdated examples
-./examples/ (all axamples are not tested on `new` version yet)
- /server/
- static web-server as the example of an application for Linux OS
- /console/
- simple console application
- /fpstest/
- loop test
-
-** Installation **
+ server/
+ static web-server as the example of an application for Linux OS
+ console/
+ simple console application
+ fpstest/
+ loop test
-1. For creating links in development directory run:
+To build BlackBox:
- cd ./new
- ./README
+ cd BlackBox
+ ./switch-target `uname -s` GUI
+ ./build
- To start:
+To run BlackBox (after build):
- ./run-BlackBox
+ ./run-BlackBox
-2. For creating assembly for target OS in development directory run:
+To create BlackBox assembly (after build):
- cd ./new
- ./export (Linux|OpenBSD|FreeBSD) (GUI|)
+ ./export <outputDirectory>
- Example for Linux:
-
- ./export Linux GUI
-
- Then:
-
- cd ../Linux_GUI
- ./build
-
- To start with .so loader:
-
- ./run-BlackBox
-
- To start with .ELF loader
-
- ./run-BlackBox-2
+Example: build, create assembly in /tmp, run BlackBox from assembly:
+ cd BlackBox
+ ./switch-target `uname -s` GUI
+ ./build
+ ./export /tmp/BlackBox-`uname -s`
+ cd /tmp/BlackBox-`uname -s`
+ ./run-BlackBox