[Coco] Formatting L.R. Tech Hard Drive in OS9 Level II
Mark J. Blair
nf6x at nf6x.net
Mon Jan 11 02:20:23 EST 2016
Good news: I have nitros9 building under OSX with the Unix environment stuff provided by MacPorts, and it was almost easy.
lwtools builds just fine.
Toolshed needed fuse.h and libfuse. After providing that by installing osxfuse via MacPorts, I forked the build/unix tree into a new build/osx tree, and made a couple of simple changes to the cocofuse Makefile:
--- build/unix/cocofuse/Makefile 2016-01-10 22:49:22.000000000 -0800
+++ build/osx/cocofuse/Makefile 2016-01-10 23:02:26.000000000 -0800
@@ -4,8 +4,8 @@
vpath %.c ../../../$(BINARY)
-CFLAGS += -I../../../include -Wall
-LDFLAGS += -L../libtoolshed -L../libcoco -L../libnative -L../libcecb -L../libdecb -L../libmisc -L../librbf -L../libsys -ltoolshed -lcoco -lnative -lcecb -ldecb -lrbf -lmisc -lsys -lm -lfuse
+CFLAGS += -I../../../include -Wall $(shell pkg-config --cflags fuse)
+LDFLAGS += -L../libtoolshed -L../libcoco -L../libnative -L../libcecb -L../libdecb -L../libmisc -L../librbf -L../libsys -ltoolshed -lcoco -lnative -lcecb -ldecb -lrbf -lmisc -lsys -lm $(shell pkg-config --libs fuse)
$(BINARY): $(BINARY).o
$(CC) -o $@ $^ $(LDFLAGS)
Then toolshed built just fine, i.e.:
make -C build/osx
sudo make -C build/osx install
Finally, a default build of Nitros9 with "make dsk PORTS=coco3" worked flawlessly, and I was able to boot the resulting 40 track single-sided images in VCC. Yay!
So I still need to figure out how to build the llktlr.dr driver, but getting the build environment up was a lot less painful than I expected.
--
Mark J. Blair, NF6X <nf6x at nf6x.net>
http://www.nf6x.net/
More information about the Coco
mailing list