home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / msdos / programm / 8790 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  1.1 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!gumby!destroyer!sol.ctr.columbia.edu!usc!elroy.jpl.nasa.gov!ucla-cs!rutgers!ub!acsu.buffalo.edu!bandu
  2. From: bandu@acsu.buffalo.edu (Jagath Samarabandu)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: gcc (djgpp) default file mode (text vs binary) question?
  5. Message-ID: <BtJuws.ACx@acsu.buffalo.edu>
  6. Date: 25 Aug 92 17:22:03 GMT
  7. Sender: nntp@acsu.buffalo.edu
  8. Organization: SUNY/Buffalo Electrical Eng.
  9. Lines: 17
  10. Nntp-Posting-Host: autarch.acsu.buffalo.edu
  11.  
  12. Hello All,
  13.  
  14. I'm trying to port a bunch of unix image processing programs using djgpp and
  15. have trouble setting the default file mode to binary. 
  16.  
  17. The file 'libc.doc' that comes with the distribution says I can set the global
  18. variable _ftype to O_TEXT or O_BINARY and it should set the default file type.
  19. But this doesn't seem to work. 
  20.  
  21. If any of you can give me some *(help)(), I'd really appreciate it.
  22.  
  23. Thanks,
  24.  
  25. Bandu
  26.  
  27. PS: Hats off to those who toiled to port gcc (djgpp). It even beats the pants
  28. off of Borland C++ 3.1 for my application (both code size and speed).
  29.