home *** CD-ROM | disk | FTP | other *** search
-
- Here are some notes on building MG3 with the MANX compilers.
-
- MANX 5.0:
-
- The code should build fairly easily with MANX 5.0. The important
- things to remember are:
-
- 1. Change the variable LIBOBJ in amiga/Makefile.AZTEC to
- point to the location of rexxvars.o and rexxglue.o on
- your system. If you are not building a version with
- REXX support, this variable should be NULL.
-
- 2. You must have the command makemake installed somewhere
- in your path.
-
- 3. You must not put the line 'option use_arp' in your
- config file.
-
- The current code will not support ARP mainly because I didn't have
- the ARP1.3 bindings for MANX 5.0, but may in the future. There are
- only 3 functions used in the ARP library anyway and they are pretty
- small. Maybe the next release of the code will allow the use of
- ARP with MANX5.0.
-
- Due to the way MANX chose to define DOS functions in functions.h we
- have to live with several warnings when building the code. The code
- is written for LATTICE, and to be honest, their prototypes for the
- DOS functions make more sense.
-
- Warnings will occur in the following modules:
-
- ttymenu.c(2), spawn.c(2), ttyio.c(2), fileio.c(4), dirio.c(2)
-
- for a grand total of 12. These are all ptr/int conversion warnings
- and are harmless. If you absolutely cannot stand them, you can replace
- the appropriate definitions in functions.h with the following:
-
- BPTR CurrentDir(BPTR lock);
- long Examine(BPTR lock, struct FileInfoBlock *fileInfoBlock);
- long ExNext(BPTR lock, struct FileInfoBlock *fileInfoBlock);
- long Execute(const char *string, BPTR input, BPTR output);
- BPTR ParentDir(BPTR lock);
-
- It is entirely up to you, the warnings do not affect the generated
- code. I take no responsibility for any damage or confusion the
- change to functions.h may cause.
-
- After getting through all the config stuff, just type 'make xmg' and
- be prepared to wait a while. The current makefile doesn't use
- pre-compiled includes, though it probably could without too much
- trouble. It takes me about 10 minutes to build from scratch in VD0:
- with the compiler, linker, and assembler resident (I have a 5Meg
- 2000 with a 2620 board, so your mileage will probably vary).
-
-
- MANX 3.6:
-
- Support for this compiler in the code is probably going to go away
- after MANX 5.0 stabilizes, but the current code will build with it.
- Important things to remember are:
-
- 1. Change the variable LIBOBJ in amiga/Makefile.MANX to
- point to the location of rexxvars.o and rexxglue.o on
- your system. If you are not building a version with
- REXX support, this variable should be NULL.
-
- 2. You must have the command makemake installed somewhere
- in your path.
-
- The supplied makefile will cause the code to be built with 32 bit
- ints. Building with 16 bit ints was not tested and may not work.
- You are on your own if you wish to build a version that uses 16 bit
- ints.
-
- There will be several warnings generated during the make, all of
- which should be ok. I have run the version of the editor that was
- built with 3.6, but it was not extensively tested. Here is the
- warning count from the 3.6 BURRITO build (without ARP):
-
- ttymenu.c(1), spawn.c(1), ttyio.c(5), fileio.c(11), dirio.c(2)
-
- There were a few more in dirio.c when ARP support was selected.
- Most of these could be cleaned up with a little effort, but I wasn't
- too interested in 3.6 support.
-
- There are two targets in the makefile, xmg which is the editor
- without ARP, and xmga which adds the ARP link libraries to the link.
- If you place 'option use_arp' in your config file, then you will
- want to build with 'make xmga', otherwise build with 'make xmg'.
-
-