Tiny Core Linux

Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: NinjaCowboy on January 14, 2019, 08:47:22 AM

Title: Vim for piCore 9.x
Post by: NinjaCowboy on January 14, 2019, 08:47:22 AM
Busybox vi is usable for basic text editing tasks, but it's far from ideal when it comes to programming. I'll try compiling Vim when I get home tonight. It would be nice to unify the tce build scripts so that it would be easier to make more apps available for both x86 and ARM.
Title: Re: Vim for piCore 9.x
Post by: andyj on January 14, 2019, 09:07:54 AM
Here's the script for 64-bit: http://www.asjohnson.com/tinycorelinux/9.x/scripts/build-gvim.sh (http://www.asjohnson.com/tinycorelinux/9.x/scripts/build-gvim.sh). I'm not sure why this one isn't in the repo. Someday we'll get around to getting everything sync'ed up.
Title: Re: Vim for piCore 9.x
Post by: NinjaCowboy on January 14, 2019, 07:06:10 PM
The current source doesn't contain those phase-default-init.sh, phase-default-deps.sh, and phase-default-cc-opts.sh scripts. Are those important?
Title: Re: Vim for piCore 9.x
Post by: andyj on January 14, 2019, 07:21:39 PM
They are in the same directory as the build script. As you can see there are a lot of other scripts in there. I put the common elements into smaller source scripts to make maintaining them easier. I have about 100 extensions in 32 and 64 bit each that I maintain regularly.
Title: Re: Vim for piCore 9.x
Post by: NinjaCowboy on January 14, 2019, 09:02:32 PM
Thanks. I had to replace Xorg-7.7-dev with xorg-proto-dev and libXt-dev in the DEPS, and I also replaced the -mcpu and -march options in phase-default-cc-opts.sh with -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard. I'd upload the tcz files, but the forum has 128K limit.
Title: Re: Vim for piCore 9.x
Post by: Rich on January 14, 2019, 09:11:24 PM
Hi NinjaCowboy
Quote
I'd upload the tcz files, but the forum has 128K limit.
Extensions need to be submitted as noted here:
http://wiki.tinycorelinux.net/wiki:creating_extensions#submitting
You may not post extensions or executable binaries in the forum.
Title: Re: Vim for piCore 9.x
Post by: bmarkus on January 15, 2019, 12:19:58 AM
Thanks. I had to replace Xorg-7.7-dev with xorg-proto-dev and libXt-dev in the DEPS, and I also replaced the -mcpu and -march options in phase-default-cc-opts.sh with -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard. I'd upload the tcz files, but the forum has 128K limit.

armv7 binaries are not accepted in the repo except very special cases. Please build packages for armv6 to run on all RPi boards.
Title: Re: Vim for piCore 9.x
Post by: Juanito on January 15, 2019, 01:15:41 AM
i.e.
Code: [Select]
-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe