-
Notifications
You must be signed in to change notification settings - Fork 0
/
bezier.txt
58 lines (44 loc) · 1.78 KB
/
bezier.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: BEZIER
Descripcion: Bezier Spline PM Sample
Date: 2023-05-01
Version: 1.01
----------------------------
DESCRIPTION
-----------
GPI Bezier Spline Demonstration Program, Charles Petzold and Ziff Communications Co. PC Magazine, Volume 8, Number 19.
REQUIREMENTS
------------
- yum install git gcc make libc-devel binutils watcom-wrc watcom-wlink-hll
COMPILE INSTRUCTIONS
--------------------
This version of this sample was modified to compile on ArcaOS with GCC 9 compiler.
1) Remember to have correct header files your path. For GCC the correct ones are the included on the "libc-devel", not the ones from the OS/2 Toolkit. Check your config.sys for "SET INCLUDE=C:\usr\include"
2) Since I'm using the Watcom Resource Compiler (open source) instead of the classic rc.exe, and the the Watcom Linker, intead 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
- wrc - Watcom Resource Compiler version 2.0beta1
- wl - Watcom Linker
- gcc - gcc (GCC) 9.2.0 20190812 (OS/2 RPM build 9.2.0-5.oc00)
- make - Version 3.81 k2 (2017-11-10)
TROUBLESHOOT
------------
The compile produce will run by just executing make on the directory, but a compile.cmd file is includes to store the log in a file. If you want to save the log file you can run it as "nmake 2>&1 |tee make.out". The log will be saved into the "make.out" file.
HISTORY
----------
- 1.01 - 2023-05-01
Changed version to compile on gcc and to run on ArcaOS 5.0.7.
- 1.0 -
Original version by Charles Petzold
LICENSE
-------
The 3-Clause BSD License.
AUTHORS
-------
- Martin Iturbide (2023)
- Charles Petzold (1988)