Bernd Roesch <nospamn...@gmx.de> writes:

> I add an error in file libiberty/pex-win32.c to check if cygwin build use 
> win32_spawn.
> but gcc compile ok, so it seem that cygwin build do not use pex-win32.c.Or 
> need i set a compile
> option for GCC ?

The choice is determined in libiberty/configure.ac:

     *-*-mingw* | *-*-winnt*)   pexecute=pex-win32  ;;
     *-*-msdosdjgpp*)           pexecute=pex-djgpp  ;;
     *-*-msdos*)                pexecute=pex-msdos  ;;
     *)                         pexecute=pex-unix   ;;

It may be appropriate to use pex-win32 for *-*-cygwin*.  I don't know,
as I am not a cygwin user myself.

Ian

Reply via email to