On 12/12/2012 06:04 PM, Andi Kleen wrote: > Richard Biener <rguent...@suse.de> writes: >> >> Probably not suitable for trunk because I use popen/pclose/fileno >> which I don't know whether they are available on all host platforms. > > Just add a ifdef HAVE_popen or somesuch around it?
Better yet, use the pex routines from libiberty (PEX_USE_PIPES, pex_run, pex_read_output, etc.). -- Pedro Alves