Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #24832

Re: How do you make an image in Gforth version 0.7.0 with gforthmi ?

Newsgroups comp.lang.forth
Date 2013-07-28 12:41 -0700
References (6 earlier) <kspat1$bdu$1@online.de> <33ef0b19-cc8e-4b5d-8870-aa3ab3c889f7@googlegroups.com> <2013Jul25.133534@mips.complang.tuwien.ac.at> <64f3087c-cc77-4f0a-b074-2aa5ba953b06@googlegroups.com> <5e380df5-cd4f-46e7-9a62-09ffc1f6b43a@googlegroups.com>
Message-ID <fcd47145-c1d8-41ef-8697-b5f5d461dcdd@googlegroups.com> (permalink)
Subject Re: How do you make an image in Gforth version 0.7.0 with gforthmi ?
From Philip Smith <philipkingsmith@gmail.com>

Show all headers | View raw


Hi again ... well i have some what of a fix for raspberryp i users and maybe other  arm users of gforth that want to use gforthmi to make an image.  Do the following:

apt-get install gforth   #  gets you gforth version 0.7.0
sudo nano /usr/bin/gforthmi-0.7.0  # opens up an editor 

Move cursor to the line that says the following:

test "x$GFORTHD" != x || GFORTHD=$prefix/lib/gforth/0.7.0/gforth-ditc

Change that line to the following:

test "x$GFORTHD" != x || GFORTHD=$prefix/lib/arm-linux-gnueabihf/gforth/0.7.0/gforth-ditc

You will notice the change is the arm-linux-gnueabihf in the path is added.  Not sure if this works for all raspberry pi hardware but it works on my rev 2 board that seems to be armhf. 
This allows gforthmi command to work properly as that path is where the gforth-ditc program is placed!   Not idea why this is the case on raspberry pi's but clearly the debian package makers did some creative interpreting of where things should go!   PKS

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How do you make an image in Gforth version 0.7.0 with gforthmi ? Philip Smith <philipkingsmith@gmail.com> - 2013-07-21 19:46 -0700
  Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-07-22 14:44 +0000
    Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? Philip Smith <philipkingsmith@gmail.com> - 2013-07-22 16:27 -0700
    Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? Philip Smith <philipkingsmith@gmail.com> - 2013-07-22 18:52 -0700
      Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-07-23 02:36 +0000
        Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? Philip Smith <philipkingsmith@gmail.com> - 2013-07-22 21:46 -0700
          Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-07-23 09:36 +0000
      Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? Philip Smith <philipkingsmith@gmail.com> - 2013-07-22 21:25 -0700
        Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? Philip Smith <philipkingsmith@gmail.com> - 2013-07-22 23:59 -0700
      Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-07-23 13:13 +0000
        Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? Philip Smith <philipkingsmith@gmail.com> - 2013-07-23 21:17 -0700
          Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-07-24 06:24 +0000
            Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? Philip Smith <philipkingsmith@gmail.com> - 2013-07-24 10:42 -0700
            Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? Bernd Paysan <bernd.paysan@gmx.de> - 2013-07-24 21:45 +0200
              Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? Philip Smith <philipkingsmith@gmail.com> - 2013-07-24 13:18 -0700
                Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? Bernd Paysan <bernd.paysan@gmx.de> - 2013-07-24 23:33 +0200
                Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-07-25 01:33 +0000
                Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-07-25 11:35 +0000
                Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? Philip Smith <philipkingsmith@gmail.com> - 2013-07-25 17:27 -0700
                Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? Philip Smith <philipkingsmith@gmail.com> - 2013-07-25 17:33 -0700
                Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? Philip Smith <philipkingsmith@gmail.com> - 2013-07-28 12:41 -0700
  Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? Coos Haak <chforth@hccnet.nl> - 2013-07-22 22:41 +0200
    Re: How do you make an image in Gforth version 0.7.0 with gforthmi ? Philip Smith <philipkingsmith@gmail.com> - 2013-07-22 16:28 -0700

csiph-web