mirror of
https://github.com/jeremysrand/abCalc.git
synced 2025-02-10 20:30:45 +00:00
Mention needing to fix scap.h to build the code on the //GS
This commit is contained in:
parent
9eb08f1f94
commit
b87e282de0
@ -23,9 +23,14 @@ To build this on a //GS, the steps are:
|
||||
|
||||
1. Somehow copy the files to your //GS. Depending on whether you are using a real machine or an emulator, your
|
||||
approach here may be different.
|
||||
2. Once you have the files, you should first execute "dmake fixfiles". This makes sure all files have the right
|
||||
2. Find this line in your ORCACDefs/scrap.h file:
|
||||
extern pascal void PutScrap(unsigned Longint, Word, Pointer) inline(0x0C16,dispatcher);
|
||||
and change it to
|
||||
extern pascal void PutScrap(LongWord, Word, Pointer) inline(0x0C16,dispatcher);
|
||||
This is a bug in the headers which causes ORCA/C to generate the wrong output.
|
||||
3. Once you have the files, you should first execute "dmake fixfiles". This makes sure all files have the right
|
||||
file types.
|
||||
3. Execute "dmake"
|
||||
4. Execute "dmake"
|
||||
|
||||
When done, you will have two binaries. The abCalc binary is a shell command you can use from GNO/ME. And abCalcNDA
|
||||
is a new desk accessory which you can use from within GS/OS applications.
|
||||
|
Loading…
x
Reference in New Issue
Block a user