home *** CD-ROM | disk | FTP | other *** search
- 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
- From: bandu@acsu.buffalo.edu (Jagath Samarabandu)
- Newsgroups: comp.os.msdos.programmer
- Subject: gcc (djgpp) default file mode (text vs binary) question?
- Message-ID: <BtJuws.ACx@acsu.buffalo.edu>
- Date: 25 Aug 92 17:22:03 GMT
- Sender: nntp@acsu.buffalo.edu
- Organization: SUNY/Buffalo Electrical Eng.
- Lines: 17
- Nntp-Posting-Host: autarch.acsu.buffalo.edu
-
- Hello All,
-
- I'm trying to port a bunch of unix image processing programs using djgpp and
- have trouble setting the default file mode to binary.
-
- The file 'libc.doc' that comes with the distribution says I can set the global
- variable _ftype to O_TEXT or O_BINARY and it should set the default file type.
- But this doesn't seem to work.
-
- If any of you can give me some *(help)(), I'd really appreciate it.
-
- Thanks,
-
- Bandu
-
- PS: Hats off to those who toiled to port gcc (djgpp). It even beats the pants
- off of Borland C++ 3.1 for my application (both code size and speed).
-