Web lists-archives.org

[Mingw-msys] MSYSTEM




Luke Dunstan wrote:
>> Date: Tue, 17 Jul 2007 17:39:03 +0800> From: dragzhb@xxxxxxxxxxxx> To: mingw-msys@xxxxxxxxxxxxxxxxxxxxx> Subject: Re: [Mingw-msys] mingw-install-20060210 compile problems> > > --- 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 ru
nt
>  ime> > 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
> Binary mode is already the default for programs that use msys-1.0.dll, and that is what the comments say. On the 7th MSYS was set to nobinmode, and on the 13th this change was reverted, therefore MSYS is now set to binmode. Of course, none of this is relevant for programs built with MinGW, unless you use msysDVLPR.

See a problem here?

-- 
Tuomo

... Nitpicking - not just a hobby, it's a way of life!

-------------------------------------------------------------------------
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