On Thu, Jul 29, 2021 at 03:41:42PM +0100, Chris Green wrote: [snip my ramblings] > > So what is my 'build type'? > > Aha, a bit of searching suggests that:- > > ./configure --build=aarch64-unknown-linux-gnu > > should work, it seems to be so far! > It all apparently works, the .configure as above completes with no errors and 'make prefix=~/local install' completes with only the expected errors - as follows:-
... ... mv vile ovile mv: cannot stat 'vile': No such file or directory make: [makefile:341: vile] Error 1 (ignored) gcc -g -O2 -g -O2 -o vile tcap.o main.o basic.o bind.o blist.o buffer.o csrch.o display.o dumbterm.o eval.o exec.o externs.o fences.o file.o filec.o fileio.o finderr.o glob.o globals.o input.o insert.o itbuff.o lckfiles.o line.o map.o modes.o msgs.o nullterm.o oneliner.o opers.o path.o random.o regexp.o region.o search.o tags.o tbuff.o termio.o undo.o version.o vl_ctype.o watch.o window.o word.o wordmov.o api.o btree.o history.o isearch.o select.o statevar.o ucrypt.o xterm.o npopen.o spawn.o charsets.o eightbit.o wcwidth.o -liconv -lcrypt -lcurses ** installing vile /data/data/com.termux/files/usr/bin/install -c vile /data/data/com.termux/files/home/local/bin/`echo vile|sed 's,x,x,'` /bin/sh -c "if test NONE != NONE ; then \ cd /data/data/com.termux/files/home/local/bin ; \ rm -f NONE ; \ ln -s `echo vile|sed 's,x,x,'` NONE ; \ echo '... created symbolic link:' ; \ ls -l `echo vile|sed 's,x,x,'` NONE ; \ fi" ** installing vile-pager sed -e 's/=vile$/='`echo vile|sed 's,x,x,'`'/' ./macros/vile-pager >/data/data/com.termux/files/home/local/bin/`echo vile|sed 's,x,x,'`-pager chmod 755 /data/data/com.termux/files/home/local/bin/`echo vile|sed 's,x,x,'`-pager /bin/sh -c "if test NONE != NONE ; then \ cd /data/data/com.termux/files/home/local/bin; \ rm -f NONE-pager ; \ ln -s `echo vile|sed 's,x,x,'`-pager NONE-pager ; \ echo '... created symbolic link:' ; \ ls -l `echo vile|sed 's,x,x,'`-pager NONE-pager ; \ fi" Completed install of program. /data/data/com.termux/files/usr/bin/install -c -m 644 ./vile.1 /data/data/com.termux/files/home/local/man/man1/vile.1 u0_a166@bison$ cd local /data/data/com.termux/files/home/local u0_a166@bison$ ls bin lib man share u0_a166@bison$ cd bin /data/data/com.termux/files/home/local/bin u0_a166@bison$ ls vile vile-pager u0_a166@bison$ ./vile Bad system call Unfortunately, as you can see, it doesn't run. It just says "Bad system call". Does anyone have any suggestions as to what might be wrong? It's compiled the right sort of executable:- u0_a166@bison$ cd /data/data/com.termux/files/usr/bin /data/data/com.termux/files/usr/bin u0_a166@bison$ file ls ls: symbolic link to coreutils u0_a166@bison$ file coreutils coreutils: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /system/bin/linker64, stripped u0_a166@bison$ cd local/bin /data/data/com.termux/files/home/local/bin u0_a166@bison$ file vile vile: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /system/bin/linker64, with debug_info, not stripped Does it just mean that there's a missing dependency that ./configure and make haven't noticed? -- Chris Green