mingw-cross-env-list
[Top][All Lists]
Advanced

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

[Mingw-cross-env-list] Re: w32api.mk broken on Mac OS X Leopard


From: Alexei Svitkine
Subject: [Mingw-cross-env-list] Re: w32api.mk broken on Mac OS X Leopard
Date: Sat, 17 Apr 2010 20:40:47 -0400

The same problem occurs in gcc.mk.

-Alexei

On Sat, Apr 17, 2010 at 8:24 PM, Alexei Svitkine
<address@hidden> wrote:
> Hi,
>
> The "fix incompatibilities with gettext" part in w32api.mk doesn't
> work on Mac OS X Leopard.
>
> The problem is sed complained about:
>
> sed: 1: "/opt/mingw/tmp-w32api/. ...": invalid command code m
>
> To fix this, I had to change $(SED) -i ... to $(SED) -i -e ... in w32api.mk.
>
> i.e.:
>
>    $(SED) -i -e 's,\(SUBLANG_BENGALI_INDIA\t\)0x01,\10x00,'
> '$(1)/include/winnt.h'
>    $(SED) -i -e 's,\(SUBLANG_PUNJABI_INDIA\t\)0x01,\10x00,'
> '$(1)/include/winnt.h'
>    $(SED) -i -e 's,\(SUBLANG_ROMANIAN_ROMANIA\t\)0x01,\10x00,'
> '$(1)/include/winnt.h'
>    # fix incompatibilities with jpeg
>    $(SED) -i -e 's,typedef unsigned char boolean;,,'
> '$(1)/include/rpcndr.h'
>
> -Alexei
>




reply via email to

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