Web lists-archives.org

Re: [Mingw-msys] umount drive C




--- Keith Marshall
<keithmarshall@xxxxxxxxxxxxxxxxxxxxx>写道:

> On Tuesday 10 July 2007 04:25, haibin zhang wrote:
> > Can we do opposite, compile gcc 3.4.X as MSYS
> > development, so that can use gcc 3.4.X to compile
> > m4-1.4.9
> 
> That would be a major undertaking, which is why we
> still use gcc-2.95.3 
> as our MSYS build compiler.
> 
> > do you know how to compile gcc 3.4.X defaults to
> > binary, with LF only line endings ?
> 
> You need to set _fmode to O_BINARY before opening
> any I/O streams, and 
> you must also call _setmode for each of the
> pre-opened standard I/O 
> streams.  You can easily do this early in the main
> function, for any 
> application which you want to exhibit this
> behaviour; I guess that it 
> would be fairly trivial to modify the runtime
> startup module, to make 
> this the default.  However, if it was this simple,
> we would already 
> have done it a long time ago; there are much more
> significant changes 
> required, to create an MSYS development suite.
> 

I have found this information in msys.bat
=================================================
rem ChangeLog:
rem 2002.03.07  Earnie Boyd 
mailto:earnie@xxxxxxxxxxxx
rem	* Change the binmode setting to nobinmode.

rem 2002.03.13  Earnie Boyd 
mailto:earnie@xxxxxxxxxxxx
rem	* Revert the nobinmode change.
=================================================

Can we change nobinmode to binmode  as default , like
cygwin ,so that many unix program(include m4-1.4.9)
can run directly in MSYS?

Regards

Zhang HaiBin


		
___________________________________________________________ 
雅虎免费邮箱-3.5G容量,20M附件 
http://cn.mail.yahoo.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys