Hello, mspgcc-users! How are you?

  I have one question: is result of open() call in mingw32 is
  old-good-plain Win32 HANDLE or not? If it IS HANDLE, and we could
  write something like this:

  hFile = CreateFile(...);
  write((int)hFile,pBuf,dwSize);

  and

  fd = open(...);
  WriteFile((HANDLE)fd,pBuf,dwToWrite,&dwWasWritte,NULL);

  then I could prepare patches for collect2.c, so it will be possible
  to compile cross-compilers for targets, that needs collect2, with
  mingw.

  BTW, here is _pipe() call in MSVCRT.LIB. So... May be, It will be
  possible in any case... Is _pipe() supported by mingw32?

               Lev Serebryakov
/-----------------------------------------------\
| FIDONet: 2:5030/661.0                         |
| E-Mail:  [email protected]               | 
| Page:    http://lev.serebryakov.spb.ru/       |
| ICQ UIN: 3670018                              |
| Phone:   You know, if you have world nodelist |
\===============================================/


Reply via email to