Wednesday, August 09, 2017

NetBSD source build and crosscompile notes

An update on my notes to compile NetBSD kernels and userland.

Build / update the tools:

-U : for unprivilged building
-u : to update
-m : to specify architecture

./ -U -u tools

To cross compile, this is enough:
./ -U -m i386 -u tools
However, since I do want to build on the same computer and the build script would be confused, we add -T tools-${HOST_ARCH}-${TARGET_ARCH}

./ -U -m i386 -u -T tools-amd64-i386 tools

Then we build the kernel

./ -U kernel=CONFNAME

or for cross compilation:
./ -U -T tools-amd64-i386 -m i386 -u GENERIC

The modules:
./ -U -u modules installmodules=/

Now to build userland, including X11. I did not attempt to cross-build userland yet.

./ -U -x -u distribution

./ -U -x -u distribution install=/

Sunday, April 23, 2017

GNUstep Graphos 0.6

After (too) many years, finally a new release of Graphos.

This release has two new important features: cusps and images.

Splines support now cusps, that is left and right asymmetrical tangents to a control point.

A new image item object exists. This allows you to paste a preferably small image and move it around like it were a box, resizing it at will.
This is quite useful to be able to manually overlay lines and trace images.
Since the image is directly encoded in the file and not saved as a separate image it is not very efficient and using large images is not advisable. In the future a new bundle file format needs to be implemented.

The screenshot shows an example of tracing the GNUstep logo imported as a bitmap, using the cusp point in the upper right.

Many bug fixes and improvements in these past years, some major:
  •  Text improvements (editor display, reading/&saving, Mac support)
  •  Circles/Ovals save/read fix
  •  Properties inspector fixes
  •  Portability fixes
To support cusps, the file format changed again, reading of old formats is still supported.