WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Vim for piCore 9.x  (Read 2173 times)

Offline NinjaCowboy

  • Newbie
  • *
  • Posts: 36
Vim for piCore 9.x
« 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.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Vim for piCore 9.x
« Reply #1 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. I'm not sure why this one isn't in the repo. Someday we'll get around to getting everything sync'ed up.

Offline NinjaCowboy

  • Newbie
  • *
  • Posts: 36
Re: Vim for piCore 9.x
« Reply #2 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?

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Vim for piCore 9.x
« Reply #3 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.

Offline NinjaCowboy

  • Newbie
  • *
  • Posts: 36
Re: Vim for piCore 9.x
« Reply #4 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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11691
Re: Vim for piCore 9.x
« Reply #5 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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Vim for piCore 9.x
« Reply #6 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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14841
Re: Vim for piCore 9.x
« Reply #7 on: January 15, 2019, 01:15:41 AM »
i.e.
Code: [Select]
-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe