[dmd-internals] Building verstr.h on OSX

Walter Bright walter at digitalmars.com
Tue Feb 19 12:23:43 PST 2013


On 2/19/2013 10:08 AM, Jacob Carlborg wrote:
> On 19 feb 2013, at 06:51, Walter Bright <walter at digitalmars.com> wrote:
>
>> The line from posix.mak:
>>
>> /bin/echo -n \"`cat ../VERSION`\" >verstr.h
>>
>> produces a file verstr.h that only contains the character "
>>
>> Anyone know how to fix this?
> Works for me on Mac OS X 10.6 - 10.8.
>

Ah, found the problem. My VERSION had a \r\n in it.


More information about the dmd-internals mailing list