Path: utzoo!attcan!uunet!super!udel!rochester!pt.cs.cmu.edu!andrew.cmu.edu!bader+
From: bader+@andrew.cmu.edu (Miles Bader)
Newsgroups: comp.sys.amiga.tech
Subject: Re: problems with forkv (lattice)
Message-ID: 
Date: 28 Nov 88 17:08:03 GMT
References: ,
	<167@fishpond.UUCP>
Organization: Carnegie Mellon
Lines: 20
In-Reply-To: <167@fishpond.UUCP>

fnf@fishpond.UUCP (Fred Fish) writes:
> Forkv only works when the forked program is a C program.  This restriction
> did not make it into the manual, but is apparently in one of the README
> files supplied with the compiler (or so I've been informed, read the README
> files?  never...  :-).

Actually, I can't get it to work with c programs either.  I just
tested it with a really small program that just does "exit(atoi(argv[1]))".
The reason I started out TRYING to use forkv in the first place was
so I could exit codes from the compiler passes, using a hacked up
version of (your) cc, and it couldn't deal with any of them
either (and I certainly assume they're written in c...).

Just in case, I also searched the read.me & addendum.doc on the
distribution disks, and they never even mention any of the fork
calls.  I also search the man entry again; no dice.

So my question (why doesn't forkv work?) still stands...

-Miles