[Ecls-list] Cygwin problems -- serious ones

Matthew Mondor mm_lists at pulsar-zone.net
Sun May 29 02:42:24 UTC 2011

On Sat, 28 May 2011 22:34:34 +0200
Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> wrote:

> What happens is that cygwin is faking "fork()". Windows does not have it, so
> what Cygwin does is to reload the whole executable file and all shared
> libraries and copy the memory content to fake a "duplicate" of the original
> executable image. The problem is that when loading the executable file and
> the shared libraries, they have to end up at the same positions, but cygwin
> fails to do it properly and thus the copy that is produced cannot function.

When reading this I was wondering: would a mingw port be easier, using
winapi (it is simpler, more efficient with less wrapping)?  Or does the
cygwin port already make use of the cygwin-mingw cross-compiler?  Also,
is fork() in this case only used to execute the compiler?


More information about the ecl-devel mailing list