[ / / / / / / / / ] [ b / news+ / boards ] [ operate / meta ] [ ]

/gentoo/ - Technology

Install gentoo.

Catalog

Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Options
Password (For file and post deletion.)

Allowed file types: jpg, jpeg, gif, png, webm, mp4
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 1 per post.


File: 1426876645206.png (15.27 KB, 666x428, 333:214, CAjsDKuU8AEuZga.png)

 No.647

Here's something really goddamn neat– remember the old joke of GNU Emacs being "Eight Megabytes And Constantly Swapping"?
19 years ago, a Japanese guy named Izumi Tsutsui helped me port Emacs-18.59 (as well as Mule, the input-method-adapted version of Emacs that did international text) to NetBSD.
Recently another Japanese guy was reminiscing on Twitter about how there was a time when you could use Emacs on a machine with 4MB of RAM, like the Luna/m68k he was restoring and running NetBSD on. Tsutsui and myself both replied near-simultaneously about doing that 19 years ago! …and I was stunned that the Jap mate from 20 years ago I had actually been following each other on Twitter for years without realizing the connection we had a very long time ago. (Tsutsui's reaction, translated, was "The Internet is making me feel old again…")
Anyway, after I mentioned that portage had a few patches for making emacs18 run on a current i386 Gentoo systems, Tsutsui dove right in and fixed the problems of making it (and Mule-2.3) run on NetBSD today, and then ported it to ARM (i.e: Raspberry Pi1/2), and m68k. He then also fixed Emacs-18's underlying Lisp interpreter to be 64 bit clean so that it worked on AMD64!

https://github.com/tsutsui/emacs-18.59-netbsd

 No.648

File: 1426876816522.png (3.15 KB, 568x128, 71:16, emacs-rpi-top.png)

You are now aware that Emacs 18 can execute entirely within your CPU's processor cache. Manually.

 No.649

>>647
How can you use netbsd? I find it have no real advantage over freebsd

 No.650

File: 1426920235690.jpg (62.3 KB, 640x480, 4:3, 1410037897341.jpg)

>>649
NetBSD's pkgsrc + pkg_comp I've found to be the best practice for tracking current BSD userland and ports.. If you can rebuild your entire system inside a chroot, /using/ that chroot, then it likely the latest commits haven't broken anything. As a Gentooman who wants to 'emerge -u world' every day, I think it actually an improvement on that.. (at least at my level of Gentoo proficiency– is there a way to snapshot/rollback installed versions of an entire system on that?)

I think in the ~15 years I've tracked NetBSD-current, only 6 or so times have things broken by doing it that way (whereas with Gentoo there's regular issues that need USE juggling…) Twice that was because of unintended contamination of environment variables in the chroot, and the rest were just major package fails (GNOME removing features that I wanted, the rare glitch by a pkgsrc maintainer..)

Actually, just this morning I did a clean-slate upgrade of this NetBSD box–
* compiled the latest kernel and installed/rebooted (config SYSTEM .. make depend && install, rebooted and saw the kernel still works)
* made a list of all installed software (pkg_chk -g)
* compiled new BSD sets (build.sh distribution sets)
* made a fresh pkg_comp chroot (pkg_comp removeroot … makeroot)
* build all the packages inside it (pkg_comp build `cat pkgchk.conf`)
* install the BSD sets on the live system (tar -C / …)
* removed all the installed packages (pkg_delete -r *[0-9])
* installed all the newly build packages (pkg_chk -C pkgchk.conf -a -b)
* rebooted… and get pissed-off at the UI changes in the latest Firefox

NetBSD also cross-compiles /really/ easy, to the point that there's no need to actually download install images for a system..

# build.sh -N1 -j10 -m macpcc distribution sets release
(30 minutes later, there's a macppc-netbsd-install.iso waiting for me..
# build.sh -m evbarm -a earmv7hf distribution sets release
(50 minutes later, there's a microsd image for my Beaglebone Black, and BSD sets for the RPI2..)

It gives the 8-core NetBSD box something to do.



Delete Post [ ]
[]
[Return][Go to top][Catalog]
[ / / / / / / / / ] [ b / news+ / boards ] [ operate / meta ] [ ]