Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #58791 > unrolled thread
| Started by | Frank K <frankkaplan42@gmail.com> |
|---|---|
| First post | 2017-05-07 14:37 -0700 |
| Last post | 2017-05-12 13:48 +0000 |
| Articles | 17 — 8 participants |
Back to article view | Back to comp.lang.forth
Forth for Raspberry Pi 3 Frank K <frankkaplan42@gmail.com> - 2017-05-07 14:37 -0700
Re: Forth for Raspberry Pi 3 Julian Fondren <julian.fondren@gmail.com> - 2017-05-07 15:33 -0700
Re: Forth for Raspberry Pi 3 josv@planet.nl - 2017-05-08 01:29 -0700
Re: Forth for Raspberry Pi 3 Ron Aaron <rambamist@gmail.com> - 2017-05-08 11:58 +0300
Re: Forth for Raspberry Pi 3 Lars Brinkhoff <lars.spam@nocrew.org> - 2017-05-08 14:27 +0200
Re: Forth for Raspberry Pi 3 anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-08 13:42 +0000
Re: Forth for Raspberry Pi 3 anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-11 13:16 +0000
Re: Forth for Raspberry Pi 3 josv@planet.nl - 2017-05-12 02:53 -0700
Re: Forth for Raspberry Pi 3 anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-12 11:42 +0000
Re: Forth for Raspberry Pi 3 Coos Haak <htrofhc@gmail.com> - 2017-05-12 14:24 +0200
Re: Forth for Raspberry Pi 3 anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-12 13:54 +0000
Re: Forth for Raspberry Pi 3 Coos Haak <htrofhc@gmail.com> - 2017-05-12 17:44 +0200
Re: Forth for Raspberry Pi 3 josv@planet.nl - 2017-05-12 06:19 -0700
Re: Forth for Raspberry Pi 3 - Now it works Frank K <frankkaplan42@gmail.com> - 2017-05-08 10:39 -0700
Re: Forth for Raspberry Pi 3 - Now it works josv@planet.nl - 2017-05-08 14:20 -0700
Re: Forth for Raspberry Pi 3 - Now it works josv@planet.nl - 2017-05-08 14:25 -0700
Re: Forth for Raspberry Pi 3 "Robert L." <No_spamming@noWhere_7073.org> - 2017-05-12 13:48 +0000
| From | Frank K <frankkaplan42@gmail.com> |
|---|---|
| Date | 2017-05-07 14:37 -0700 |
| Subject | Forth for Raspberry Pi 3 |
| Message-ID | <19abeecd-db0f-4dc5-a2f0-9860bf8874f2@googlegroups.com> |
I'm looking for a working Forth for Rpi3. I've loaded gforth and it runs but won't compile. I loaded yforth and its just to bare bones. Is there an working Forth for the 3? Appreciate any help. I haven't worked in Forth since the 80's and want to try it again. Got the Pi as a hobby.
[toc] | [next] | [standalone]
| From | Julian Fondren <julian.fondren@gmail.com> |
|---|---|
| Date | 2017-05-07 15:33 -0700 |
| Message-ID | <5649c653-ad43-4ef9-b5c3-22db6225cd52@googlegroups.com> |
| In reply to | #58791 |
On Sunday, May 7, 2017 at 4:37:23 PM UTC-5, Frank K wrote: > I'm looking for a working Forth for Rpi3. I've loaded gforth and it runs but won't compile. I loaded yforth and its just to bare bones. Is there an working Forth for the 3? Appreciate any help. I haven't worked in Forth since the 80's and want to try it again. Got the Pi as a hobby. If you have a Windows desktop you can use the ARM-Linux version of SwiftX: https://www.forth.com/product/forth-cross-compiler-microcontrollers-microprocessors/ This is a tethered setup where you do your work on the desktop and deploy the application to the rPI. You can also get the ARM Linux version of VFX Forth: http://www.mpeforth.com/software/pc-systems/vfx-forth-for-arm-linux/ This is the same Forth environment you'd get on x86 Linux, but for ARM. gforth will probably eventually compile if you work at it. You might have better luck with non-current; last I checked current had some weird dependencies. There's also ARM version of ciforth in development somewhere, last I heard it was stuck at getting SAVE-SYSTEM to work. I can only vouch for gforth and VFX Forth on ARM. I used gforth for a long time on OpenBSD on a Sharp Zaurus and it worked perfectly fine. I've used VFX Forth on several newer ARM devices, like an ARM Chromebook (running it through crouton, under ChromeOS), the PocketCHIP https://getchip.com/ , and an ARM server from https://www.mininodes.com/ .
[toc] | [prev] | [next] | [standalone]
| From | josv@planet.nl |
|---|---|
| Date | 2017-05-08 01:29 -0700 |
| Message-ID | <cfceef0b-eeb7-46e9-92cf-e5cb4c6dd268@googlegroups.com> |
| In reply to | #58791 |
Hi, I got Gforth working om my Raspberry Pi Zero W under the Jessie as follows: Download the latest gforth.tar.xz from: http://www.complang.tuwien.ac.at/forth/gforth/Snapshots/current tar xf gforth.tar.tar cd gforth-0.7.9_2017XXXX sudo apt-get update -y sudo apt-get install libtool libtool-bin libltdl-dev libffi-dev autoconf m4 emacs -y ./configure make sudo make install \y Ignore all errors. Jos On 7 may 2017 23:37:23 UTC+2 Frank K wrote: > I'm looking for a working Forth for Rpi3. I've loaded gforth and it runs but won't compile. I loaded yforth and its just to bare bones. Is there an working Forth for the 3? Appreciate any help. I haven't worked in Forth since the 80's and want to try it again. Got the Pi as a hobby.
[toc] | [prev] | [next] | [standalone]
| From | Ron Aaron <rambamist@gmail.com> |
|---|---|
| Date | 2017-05-08 11:58 +0300 |
| Message-ID | <oepbpi$mmv$1@dont-email.me> |
| In reply to | #58791 |
On 05/08/17 00:37, Frank K wrote: > I'm looking for a working Forth for Rpi3. I've loaded gforth and it runs but won't compile. I loaded yforth and its just to bare bones. Is there an working Forth for the 3? Appreciate any help. I haven't worked in Forth since the 80's and want to try it again. Got the Pi as a hobby. 8th works on RPI (https://8th-dev.com)
[toc] | [prev] | [next] | [standalone]
| From | Lars Brinkhoff <lars.spam@nocrew.org> |
|---|---|
| Date | 2017-05-08 14:27 +0200 |
| Message-ID | <867f1redod.fsf@molnjunk.nocrew.org> |
| In reply to | #58791 |
Frank K wrote: > I'm looking for a working Forth for Rpi3. I have my Rpi3 set up to boot into my own Forth. It's a rather simple ITC Forth, but comes with its own metacompiler and a set of assemblers. http://github.com/larsbrinkhoff/lbForth
[toc] | [prev] | [next] | [standalone]
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
|---|---|
| Date | 2017-05-08 13:42 +0000 |
| Message-ID | <2017May8.154258@mips.complang.tuwien.ac.at> |
| In reply to | #58791 |
Frank K <frankkaplan42@gmail.com> writes:
>I'm looking for a working Forth for Rpi3. I've loaded gforth and it runs bu=
>t won't compile.
Gforth should build on the Raspberry Pi. You probably have to satisfy
the dependences. In any case, if you don't report what you did, and
what the result was, we cannot help you.
- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: http://www.forth200x.org/forth200x.html
EuroForth 2017: http://www.euroforth.org/ef17/
[toc] | [prev] | [next] | [standalone]
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
|---|---|
| Date | 2017-05-11 13:16 +0000 |
| Message-ID | <2017May11.151611@mips.complang.tuwien.ac.at> |
| In reply to | #58831 |
anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
>Gforth should build on the Raspberry Pi. You probably have to satisfy
>the dependences.
I have now tried it out (should work on any Raspberry Pi with the
versions I used): On a freshly installed Raspbian Jessie Lite (Version
April 2017), I built and installed gforth from the snapshot tarball
(version 0.7.9_20170427) as follows:
sudo apt-get update
sudo apt-get install texinfo emacs libtool libtool-bin libffi-dev texlive m4
wget https://www.complang.tuwien.ac.at/forth/gforth/Snapshots/current/gforth.tar.xz
tar xfJ gforth.tar.xz
cd gforth-0.7.9_20170427/ #this will change with new snapshots
./configure && make && make doc
sudo make install
If instead you want to build from git, the following is the way to go:
sudo apt-get update
sudo apt-get install texinfo emacs libtool libtool-bin libffi-dev texlive m4
sudo apt-get install git autoconf gforth
git clone git://git.savannah.gnu.org/gforth.git
cd gforth
./BUILD-FROM-SCRATCH
sudo make install
For other Debian-based systems (also on other hardware), you can do
essentially the same, but need to install software that is installed
on Raspbian Jessie Lite by default (e.g., install gcc).
- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: http://www.forth200x.org/forth200x.html
EuroForth 2017: http://www.euroforth.org/ef17/
[toc] | [prev] | [next] | [standalone]
| From | josv@planet.nl |
|---|---|
| Date | 2017-05-12 02:53 -0700 |
| Message-ID | <a11f41dc-55fd-4706-808b-e474e06ad646@googlegroups.com> |
| In reply to | #59084 |
Hi, Thank you, nice to have a complete installation instruction. Building Gforth from git seems to need an old Gforth When I removed an old Gforth I got: config.status: executing libtool commands cp: cannot stat 'kernl32l.fi': No such file or directory cp: cannot stat 'kernl32b.fi': No such file or directory cp: cannot stat 'kernl64l.fi': No such file or directory cp: cannot stat 'kernl64b.fi': No such file or directory Colorization for errors appeared on my screen. Nice but sometimes, but the text became hard to read for me on a black terminal. For a better contrast I am now using: $c00 to err-color $900 to warn-color $d60 to info-color Jos On 11 may 2017 16:47:49 UTC+2 Anton Ertl wrote: > anton....mplang.tuwien.ac.at (Anton Ertl) writes: > >Gforth should build on the Raspberry Pi. You probably have to satisfy > >the dependences. > > I have now tried it out (should work on any Raspberry Pi with the > versions I used): On a freshly installed Raspbian Jessie Lite (Version > April 2017), I built and installed gforth from the snapshot tarball > (version 0.7.9_20170427) as follows: > > sudo apt-get update > sudo apt-get install texinfo emacs libtool libtool-bin libffi-dev texlive m4 > wget https://www.complang.tuwien.ac.at/forth/gforth/Snapshots/current/gforth.tar.xz > tar xfJ gforth.tar.xz > cd gforth-0.7.9_20170427/ #this will change with new snapshots > ./configure && make && make doc > sudo make install > > If instead you want to build from git, the following is the way to go: > > sudo apt-get update > sudo apt-get install texinfo emacs libtool libtool-bin libffi-dev texlive m4 > sudo apt-get install git autoconf gforth > git clone git://git.savannah.gnu.org/gforth.git > cd gforth > ./BUILD-FROM-SCRATCH > sudo make install > > For other Debian-based systems (also on other hardware), you can do > essentially the same, but need to install software that is installed > on Raspbian Jessie Lite by default (e.g., install gcc). > > - anton > -- > M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html > comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html > New standard: http://www.forth200x.org/forth200x.html > EuroForth 2017: http://www.euroforth.org/ef17/
[toc] | [prev] | [next] | [standalone]
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
|---|---|
| Date | 2017-05-12 11:42 +0000 |
| Message-ID | <2017May12.134206@mips.complang.tuwien.ac.at> |
| In reply to | #59109 |
josv@planet.nl writes:
>Hi,
>Thank you, nice to have a complete installation instruction.
>Building Gforth from git seems to need an old Gforth
Correct. That's why Gforth is mentioned in
>> sudo apt-get install git autoconf gforth
>When I removed an old Gforth I got:
>config.status: executing libtool commands
>cp: cannot stat 'kernl32l.fi': No such file or directory
>cp: cannot stat 'kernl32b.fi': No such file or directory
>cp: cannot stat 'kernl64l.fi': No such file or directory
>cp: cannot stat 'kernl64b.fi': No such file or directory
I am missing context. What did you try to do?
>Colorization for errors appeared on my screen.
>Nice but sometimes, but the text became hard to read for me on a black terminal.
>For a better contrast I am now using:
>$c00 to err-color $900 to warn-color $d60 to info-color
Gforth has a word called BLACK-COLORS for switching to a color scheme
appropriate for dark background. You can put it in ~/.gforthrc0 in
order to have it active on every invocation of Gforth.
- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: http://www.forth200x.org/forth200x.html
EuroForth 2017: http://www.euroforth.org/ef17/
[toc] | [prev] | [next] | [standalone]
| From | Coos Haak <htrofhc@gmail.com> |
|---|---|
| Date | 2017-05-12 14:24 +0200 |
| Message-ID | <1twse3uq4zlvn$.1fwqebxj0qbs.dlg@40tude.net> |
| In reply to | #59112 |
Op Fri, 12 May 2017 11:42:06 GMT schreef Anton Ertl: > Gforth has a word called BLACK-COLORS for switching to a color scheme > appropriate for dark background. You can put it in ~/.gforthrc0 in > order to have it active on every invocation of Gforth. > > - anton Ha, this works with Gforth under Linux and Cygwin. But Gforth 0.7.9-20170427 in Windows 10 ignores a file .gforthrc0 or gforthrc0 in its root directory. I tried placing 'black-colors' in siteinit.fs because this file is mentioned in startup.fs and I assume it will be read during startup. No chance! So locate stil shows a terrible dark blue font on black. Of course, black-colors works, but I can't be bothered to enter this manually every time I start Gforth. thanks, Coos
[toc] | [prev] | [next] | [standalone]
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
|---|---|
| Date | 2017-05-12 13:54 +0000 |
| Message-ID | <2017May12.155435@mips.complang.tuwien.ac.at> |
| In reply to | #59115 |
Coos Haak <htrofhc@gmail.com> writes:
>Op Fri, 12 May 2017 11:42:06 GMT schreef Anton Ertl:
>
>> Gforth has a word called BLACK-COLORS for switching to a color scheme
>> appropriate for dark background. You can put it in ~/.gforthrc0 in
>> order to have it active on every invocation of Gforth.
>>
>> - anton
>
>Ha, this works with Gforth under Linux and Cygwin.
>But Gforth 0.7.9-20170427 in Windows 10 ignores
>a file .gforthrc0 or gforthrc0 in its root directory.
Gforth currently expands "~" to $HOME, $HOMEDIRVE/$HOMEPATH (DOS/Windows
only), $TEMP, $TMP, and finally the empty string; the first match is used.
Googling around brought up $USERPROFILE and $localappdata as potential
candidates for checking on Windows (but trying so many different ones
makes failures harder to track down, so we would prefer one reliable
method over trying out several).
>I tried placing 'black-colors' in siteinit.fs because
>this file is mentioned in startup.fs and I assume it
>will be read during startup. No chance!
startup.fs (and thus siteinit.fs) is read when building the Gforth
image, i.e., when building or possibly also on installing Gforth.
- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: http://www.forth200x.org/forth200x.html
EuroForth 2017: http://www.euroforth.org/ef17/
[toc] | [prev] | [next] | [standalone]
| From | Coos Haak <htrofhc@gmail.com> |
|---|---|
| Date | 2017-05-12 17:44 +0200 |
| Message-ID | <1gsuzamn62s1b.1illbph0jgcp$.dlg@40tude.net> |
| In reply to | #59118 |
Op Fri, 12 May 2017 13:54:35 GMT schreef Anton Ertl: > Coos Haak <htrofhc@gmail.com> writes: >>Op Fri, 12 May 2017 11:42:06 GMT schreef Anton Ertl: >> >>> Gforth has a word called BLACK-COLORS for switching to a color scheme >>> appropriate for dark background. You can put it in ~/.gforthrc0 in >>> order to have it active on every invocation of Gforth. >>> >>> - anton >> >>Ha, this works with Gforth under Linux and Cygwin. >>But Gforth 0.7.9-20170427 in Windows 10 ignores >>a file .gforthrc0 or gforthrc0 in its root directory. > > Gforth currently expands "~" to $HOME, $HOMEDIRVE/$HOMEPATH (DOS/Windows > only), $TEMP, $TMP, and finally the empty string; the first match is used. > > Googling around brought up $USERPROFILE and $localappdata as potential > candidates for checking on Windows (but trying so many different ones > makes failures harder to track down, so we would prefer one reliable > method over trying out several). > >>I tried placing 'black-colors' in siteinit.fs because >>this file is mentioned in startup.fs and I assume it >>will be read during startup. No chance! > > startup.fs (and thus siteinit.fs) is read when building the Gforth > image, i.e., when building or possibly also on installing Gforth. > > - anton echo black-colors>%homedrive%%homepath%\.gforthrc0 does it. In my case the file is c:\users\coos\.gforthrc0 As a matter of fact, .gforth-history is there too, so the building or installing programs knew that. groet Coos
[toc] | [prev] | [next] | [standalone]
| From | josv@planet.nl |
|---|---|
| Date | 2017-05-12 06:19 -0700 |
| Message-ID | <8cfbeca8-3f43-46c4-9785-1b1418bdc812@googlegroups.com> |
| In reply to | #59112 |
Hi, > I am missing context. What did you try to do? I was trying to install Gforth without any old Gforth. BLACK-COLORS in ~/.gforthrc0 is indeed much better on my Pi. Many thanks. Jos On 12 may 2017 13:46:39 UTC+2 Anton Ertl wrote: > j...nl writes: > >Hi, > >Thank you, nice to have a complete installation instruction. > >Building Gforth from git seems to need an old Gforth > > Correct. That's why Gforth is mentioned in > > >> sudo apt-get install git autoconf gforth > > >When I removed an old Gforth I got: > >config.status: executing libtool commands > >cp: cannot stat 'kernl32l.fi': No such file or directory > >cp: cannot stat 'kernl32b.fi': No such file or directory > >cp: cannot stat 'kernl64l.fi': No such file or directory > >cp: cannot stat 'kernl64b.fi': No such file or directory > > I am missing context. What did you try to do? > > >Colorization for errors appeared on my screen. > >Nice but sometimes, but the text became hard to read for me on a black terminal. > >For a better contrast I am now using: > >$c00 to err-color $900 to warn-color $d60 to info-color > > Gforth has a word called BLACK-COLORS for switching to a color scheme > appropriate for dark background. You can put it in ~/.gforthrc0 in > order to have it active on every invocation of Gforth. > > - anton > -- > M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html > comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html > New standard: http://www.forth200x.org/forth200x.html > EuroForth 2017: http://www.euroforth.org/ef17/
[toc] | [prev] | [next] | [standalone]
| From | Frank K <frankkaplan42@gmail.com> |
|---|---|
| Date | 2017-05-08 10:39 -0700 |
| Subject | Re: Forth for Raspberry Pi 3 - Now it works |
| Message-ID | <a596a7be-208c-41a5-8629-0a81d51a9789@googlegroups.com> |
| In reply to | #58791 |
On Sunday, May 7, 2017 at 5:37:23 PM UTC-4, Frank K wrote: > I'm looking for a working Forth for Rpi3. I've loaded gforth and it runs but won't compile. I loaded yforth and its just to bare bones. Is there an working Forth for the 3? Appreciate any help. I haven't worked in Forth since the 80's and want to try it again. Got the Pi as a hobby. I just tried again and now it works - not sure what I did but ... I also hooked up an old 350GB HD and Pi 3 just found it. Can't read or write so reformatting to FAT32. Amazing little machines.
[toc] | [prev] | [next] | [standalone]
| From | josv@planet.nl |
|---|---|
| Date | 2017-05-08 14:20 -0700 |
| Subject | Re: Forth for Raspberry Pi 3 - Now it works |
| Message-ID | <daf07a15-4f02-4c4d-9e20-a6f9c18c72b9@googlegroups.com> |
| In reply to | #58853 |
> Amazing little machines. Indeed, and it gets more interesting when you add some hardware with a webserver and get results on your mobile or PC as shown on the following screen captures: http://home.kpn.nl/~josv/rp1.jpg http://home.kpn.nl/~josv/rp1.jpg Jos On 8 may 2017 19:39:33 UTC+2 Frank K wrote: > On Sunday, May 7, 2017 at 5:37:23 PM UTC-4, Frank K wrote: > > I'm looking for a working Forth for Rpi3. I've loaded gforth and it runs but won't compile. I loaded yforth and its just to bare bones. Is there an working Forth for the 3? Appreciate any help. I haven't worked in Forth since the 80's and want to try it again. Got the Pi as a hobby. > > I just tried again and now it works - not sure what I did but ... I also hooked up an old 350GB HD and Pi 3 just found it. Can't read or write so reformatting to FAT32. Amazing little machines.
[toc] | [prev] | [next] | [standalone]
| From | josv@planet.nl |
|---|---|
| Date | 2017-05-08 14:25 -0700 |
| Subject | Re: Forth for Raspberry Pi 3 - Now it works |
| Message-ID | <b0168397-1d4a-4a0b-bd68-ed53bb7fb504@googlegroups.com> |
| In reply to | #58853 |
> Amazing little machines. Indeed, and it gets more interesting when you add some hardware with a webserver and get results on your mobile or PC as shown on the following screen captures: http://home.kpn.nl/~josv/rp1.jpg http://home.kpn.nl/~josv/rp2.jpg Jos On 8 may 2017 19:39:33 UTC+2 Frank K wrote: > On Sunday, May 7, 2017 at 5:37:23 PM UTC-4, Frank K wrote: > > I'm looking for a working Forth for Rpi3. I've loaded gforth and it runs but won't compile. I loaded yforth and its just to bare bones. Is there an working Forth for the 3? Appreciate any help. I haven't worked in Forth since the 80's and want to try it again. Got the Pi as a hobby. > > I just tried again and now it works - not sure what I did but ... I also hooked up an old 350GB HD and Pi 3 just found it. Can't read or write so reformatting to FAT32. Amazing little machines.
[toc] | [prev] | [next] | [standalone]
| From | "Robert L." <No_spamming@noWhere_7073.org> |
|---|---|
| Date | 2017-05-12 13:48 +0000 |
| Message-ID | <of4efs$dpt$1@gioia.aioe.org> |
| In reply to | #58791 |
On 5/7/2017, Frank K wrote: > its just to bare bones I'm trying to translate what you wrote into English. I think it would be "it's just too bare bones" Is that what you meant?
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.forth
csiph-web