Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #9620
| From | David Kuehling <dvdkhlng@gmx.de> |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | colorForth on Linux |
| Date | 2012-02-19 00:02 +0100 |
| Message-ID | <87d39b21a4.fsf@snail.Pool> (permalink) |
Hi,
the Linux ports of colorForth don't seem to be actively maintained
currently, so I thought I'd post about my experience here. The
XcolorForth/GLcolorForth ports were done by Mark Slicker, whose website
seems to have fallen victim to bit-rot. The only copies I can find are
those hosted by Tim Neitz [1] or by the ForthFreak wiki [2].
These distributions come with a shell script 'compile' for compilation.
To build on 64-bit Linux systems (amd64), that script needs some fixes.
You also need to install the required 32-bit libraries and GCC multilib
support (on debian try '
sudo apt-get install ia32-libs-dev ia32-libs-gtk gcc-multilib')
Here's the fixed GLcolorForth/compile script:
--8<--
#!/bin/bash
gcc -m32 -g -o glcf main.c mem.s -L /usr/X11R6/lib -lGL -lX11
gcc -m32 -c -o color.o color.s
if test -a color.o; then
cp color.com blocks
ld -m elf_i386 --oformat binary -Ttext `nm glcf | awk '/ xcf$/ {print "0x" $1}'` -o color.com color.o
dd if=blocks of=color.com bs=1024 seek=12 skip=12
rm blocks color.o
fi
--8<--
the resulting 'glcf' executable looks like running properly, but I
didn't yet find out how to operate it.
The same changes applied to XcolorForth's compile script make it
compile; however execution fails after printing 'init kbd.' twice,
without any windows opened. Probably the video mode is just not
supported here?
cheers,
David
[1] http://www.dnd.utwente.nl/~tim/colorforth/mslicker/GLcolorForth/
[2] http://forthfreak.net/index.cgi?colorForth
--
GnuPG public key: http://dvdkhlng.users.sourceforge.net/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205 D016 7DEF 5323 C174 7D40
Back to comp.lang.forth | Previous | Next — Next in thread | Find similar | Unroll thread
colorForth on Linux David Kuehling <dvdkhlng@gmx.de> - 2012-02-19 00:02 +0100
Re: colorForth on Linux David Kuehling <dvdkhlng@gmx.de> - 2012-02-20 00:16 +0100
Re: colorForth on Linux Mark <mark.slicker@gmail.com> - 2012-02-24 21:39 -0800
Re: colorForth on Linux David Kuehling <dvdkhlng@gmx.de> - 2012-02-26 02:00 +0100
Re: colorForth on Linux Mark <mark.slicker@gmail.com> - 2012-02-26 10:13 -0800
csiph-web