-
Notifications
You must be signed in to change notification settings - Fork 0
/
RandRect.txt
58 lines (45 loc) · 1.59 KB
/
RandRect.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Name: RANDRECT
Descripcion: Random rectangles in PM
Date: 2022-04-28
Version: 1.01
----------------------------
DESCRIPTION
-----------
This is a PM sample application that will generate randon size and color rectabled inside a PM window.
REQUIREMENTS
------------
- yum install gcc libc-devel binutils kbuild-make
COMPILE INSTRUCTIONS
--------------------
This version of this sample was modified to compile on ArcaOS with GCC 9 compiler.
1) Remember to have correct OS/2 toolkit header files your path. For GCC the correct ones are the included on the "libc-devel", not the ones from the OS/2 Toolkit.
2) Since I'm using the Watcom Resource Compiler (open source) instead of the classic rc.exe, and Watcom Linker instead of the classic ilink.exe, add to your config.sys...
SET EMXOMFLD_LINKER=wl.exe
SET EMXOMFLD_TYPE=WLINK
SET EMXOMFLD_RC_TYPE=WRC
SET EMXOMFLD_RC=wrc.exe
3) Run "make" or "make 2>&1 |tee make.out" to get the log file.
TOOLS USED
----------
- ArcaOS - Verion 5.0.7
- gcc - gcc (GCC) 9.2.0 20190812 (OS/2 RPM build 9.2.0-5.oc00)
- wl - Watcom Linker
- wrc - Watcom Resource Compiler
- make - Version 3.81 k2 (2017-11-10)
TROUBLESHOOT
------------
The compile produce will run by just executing "make" on the directory. If you want to save the log file you can run it as "make 2>&1 |tee make.out". The log will be saved into the "make.out" file.
HISTORY
----------
- 1.01
Modified version compiled in ArcaOS 5.0.7 and gcc 9.
- 1.0
Original version of the sample
LICENSE
-------
The 3-Clause BSD License.
AUTHORS
-------
- Martin Iturbide (2023)
- Dave Yeo (2023)
- Charles Petzold