Mercurial > vim
annotate src/INSTALLami.txt @ 34405:5337abbdf88e v9.1.0127
patch 9.1.0127: Naming a non-pointer variable "oap" is strange
Commit: https://github.com/vim/vim/commit/5e3674b42da10b7e7c72d1f20f9a15379af1b60a
Author: zeertzjq <zeertzjq@outlook.com>
Date: Thu Feb 22 19:51:34 2024 +0100
patch 9.1.0127: Naming a non-pointer variable "oap" is strange
Problem: Naming a non-pointer variable "oap" is strange.
Solution: Rename it to "oa". Also prevent using freed memory in case of
memory allocation failure. (zeertzjq)
closes: #14075
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 22 Feb 2024 20:00:07 +0100 |
parents | 591f210d9324 |
children |
rev | line source |
---|---|
22198
591f210d9324
patch 8.2.1648: Amiga: no common build file for Amiga (-like) systems
Bram Moolenaar <Bram@vim.org>
parents:
7
diff
changeset
|
1 INSTALLami.txt - Installation of Vim from source on Amiga and MorphOS |
7 | 2 |
3 This file contains instructions for compiling Vim. If you already have an | |
4 executable version of Vim, you don't need this. | |
5 | |
6 The file "feature.h" can be edited to match your preferences. You can skip | |
7 this, then you will get the default behavior as is documented, which should | |
8 be fine for most people. | |
9 | |
10 Summary: | |
22198
591f210d9324
patch 8.2.1648: Amiga: no common build file for Amiga (-like) systems
Bram Moolenaar <Bram@vim.org>
parents:
7
diff
changeset
|
11 make -f Make_ami.mak gcc |
591f210d9324
patch 8.2.1648: Amiga: no common build file for Amiga (-like) systems
Bram Moolenaar <Bram@vim.org>
parents:
7
diff
changeset
|
12 make -f Make_ami.mak CC=vc vbcc |
7 | 13 |
22198
591f210d9324
patch 8.2.1648: Amiga: no common build file for Amiga (-like) systems
Bram Moolenaar <Bram@vim.org>
parents:
7
diff
changeset
|
14 Please note that currently only gcc has been tested. VBCC would need its own |
591f210d9324
patch 8.2.1648: Amiga: no common build file for Amiga (-like) systems
Bram Moolenaar <Bram@vim.org>
parents:
7
diff
changeset
|
15 CFLAGS, but should otherwise work out of the box. For cross-compiling, UNM |
591f210d9324
patch 8.2.1648: Amiga: no common build file for Amiga (-like) systems
Bram Moolenaar <Bram@vim.org>
parents:
7
diff
changeset
|
16 can be used to override uname and thereby set the target. An example is shown |
591f210d9324
patch 8.2.1648: Amiga: no common build file for Amiga (-like) systems
Bram Moolenaar <Bram@vim.org>
parents:
7
diff
changeset
|
17 below: |
7 | 18 |
22198
591f210d9324
patch 8.2.1648: Amiga: no common build file for Amiga (-like) systems
Bram Moolenaar <Bram@vim.org>
parents:
7
diff
changeset
|
19 make -f Make_ami.mak CC=ppc-morphos-gcc UNM=MorphOS |