make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make/tests issues


From: Eli Zaretskii
Subject: Re: make/tests issues
Date: Sat, 06 Mar 2004 19:26:29 +0200

> Date: Sat, 06 Mar 2004 16:08:16 +0000
> From: "J. Grant" <address@hidden>
> 
> > So, the question is why does make write newlines one way when it writes
> > "\n", and Perl write newlines the other way when _it_ writes "\n"?
> 
> As make is compiled by me with MSVC6 as a "win32 console application" it
> be using the CRLF console output format used on MS-Windows.
> 
> > And, is there any way to get Perl to use the same line ending method as
> > make?
> 
> Wherever perl is writing these base files it just needs to write "\r\n".
> This could be based on an "if($windows32)" check or so.  I am not clear
> where the base processing is though.

Normally, the conversion of LF into CRLF happens inside the library
functions that write text to a file, typically the `write' function.

The way to fix this problem is to compile Perl as a Windows console
application, so that it uses the same runtime routines as your
MSVC-compiled Make.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]