🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #857

gcc (djgpp) default file mode (text vs binary) question?

#857
From: Jagath Samarabandu
Date: Tue, 25 Aug 1992 17:22
17 lines
1107 bytes
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).
Technical Details
Message-ID: <BtJuws.ACx@acsu.buffalo.edu>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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