Mercurial > vim
view src/INSTALLami.txt @ 26542:b74e4c3618f8 v8.2.3800
patch 8.2.3800: when cross compiling the output of "uname" cannot be set
Commit: https://github.com/vim/vim/commit/6840a0ffe8d27a8773a500ba17550cdf2ad12cbc
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 13 20:37:59 2021 +0000
patch 8.2.3800: when cross compiling the output of "uname" cannot be set
Problem: When cross compiling the output of "uname" cannot be set. (Ben
Reeves)
Solution: Use cache variables. (closes #9338)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 13 Dec 2021 21:45:04 +0100 |
parents | 591f210d9324 |
children |
line wrap: on
line source
INSTALLami.txt - Installation of Vim from source on Amiga and MorphOS This file contains instructions for compiling Vim. If you already have an executable version of Vim, you don't need this. The file "feature.h" can be edited to match your preferences. You can skip this, then you will get the default behavior as is documented, which should be fine for most people. Summary: make -f Make_ami.mak gcc make -f Make_ami.mak CC=vc vbcc Please note that currently only gcc has been tested. VBCC would need its own CFLAGS, but should otherwise work out of the box. For cross-compiling, UNM can be used to override uname and thereby set the target. An example is shown below: make -f Make_ami.mak CC=ppc-morphos-gcc UNM=MorphOS