The error is because of the symlinks in cygwin. So, before building OO one should remove the symlinks between [(awk & gawk), (gzip & gunzip)].
This error is causing problem in 'boost' module. A pop window is appearing with the error message(Error: 16 bit MS-DOS Subsystem -- The NTVDM CPU has encountered an illegal instruction)with 'ignore/cancel' button. When one ignores the error message, a message 'File to patch:' is coming and further build is crashing.
This particular error is because of 'gunzip->gzip' symlink, to nullify this link remove 'gunzip.exe' and copy 'gzip.exe' as 'gunzip.exe' in 'cygwin/bin' directory.