Svante Signell, le Mon 08 Dec 2014 13:09:28 +0100, a écrit :
> On Mon, 2014-12-08 at 12:40 +0100, Samuel Thibault wrote:
> > Svante Signell, le Mon 08 Dec 2014 12:05:13 +0100, a écrit :
> > > Which translators are restarted when installing,
> > 
> > Nothing gets restarted when you install. Only the newer translator that
> > you start will use the new implementation.
> > 
> > > and which are when rebooting?
> > 
> > Everything gets restarted of course.
> 
> seems like using mach_printf and rebuilding everything is the only way
> to get some consistent results when printing (very time-consuming).

No, it's not.  Again, fprintf(stderr)+fflush *does* work, I've been
using various times.  If you don't get your prints going somewhere,
you're probably not managing to start your rebuilt programs.  Again, to
be sure, put fprintf(stderr)+fflush in the main() and initialization
function of your translators and libraries to make sure you're really
running what you want to be running.

> (and I would like to have the printouts in /tmp instead of the
> console??)

mach_print can't do that. Mach doesn't even know what a file is.

Samuel

Reply via email to