Hi,

I use GCC to some restricted environment.
When I run gcc, it freezes up on this line[1]. When I replace the 'vfork()' on the 'fork()' the compilation succeeds. I haven't found any other adverse events.

I'm curious whether there is reason to use 'vfork()' rather than 'fork()'?

Thanks.


[1] https://gcc.gnu.org/viewcvs/gcc/trunk/libiberty/pex-unix.c?view=markup#l613


manpages:
http://linux.die.net/man/2/fork
http://linux.die.net/man/3/vfork

--
Regards, niXman
___________________________________________________
Dual-target(32 & 64-bit) MinGW-W64 compilers for 32 and 64-bit Windows:
http://sourceforge.net/projects/mingw-w64/
___________________________________________________
Another online IDE: http://liveworkspace.org/

Reply via email to