help-vmgen
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-vmgen] vmgen: Command not found


From: Anton Ertl
Subject: Re: [Help-vmgen] vmgen: Command not found
Date: Sun, 4 Apr 2010 16:27:36 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Sun, Apr 04, 2010 at 06:45:52AM -0500, Leon Konings wrote:
> Hi,
>
> I am trying to get the vmgen-ex example working. I have tried it in both 
> Windows and
> Linux with the same result. The error message: "vmgen: Command not found".
>
> I can't find a executable file named vmgen.

When you install Gforth, it's installed in the installation binary
directory (by default /usr/local/bin).

Before you install it, it's created in your build directory, but it
also looks for other files which are not where it expects them.

So my recommendation would be to install Gforth and put the
installation binary directory in your PATH.

If you want to run it from the build directory, the following worked
for me:

#first set BUILDDIR
#now use a Bourne-compatible shell or env
GFORTHDIR=$BUILDDIR GFORTHDATADIR=$BUILDDIR make VMGEN="$BUILDDIR/vmgen"

I built in the source directory, not sure if it works with a separate
build directory.

> In windows I downloaded MingW and MSYS. Files like mini.tab.c are  
> created nicely.

>From what I hear, I recommend full Cygwin over MinGW if you intend to
do serious development on Windows.

- anton




reply via email to

[Prev in Thread] Current Thread [Next in Thread]