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

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

Re: [Mingw-cross-env-list] SDL build error


From: Nikos Chantziaras
Subject: Re: [Mingw-cross-env-list] SDL build error
Date: Fri, 07 Jun 2013 12:56:11 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6

On 07/06/13 12:18, Tony Theodore wrote:

On 07/06/2013, at 3:49 AM, Nikos Chantziaras <address@hidden> wrote:

Anyway, shot in the dark: do a clean git clone of MXE into a directory that doesn't 
contain non-ASCII characters.  Like "/home/barzoque/mxe". Maybe that's the 
issue.

That's certainly the issue, I created a directory with "Документы" in it and get the same 
error. I've narrowed it down to "pkg-config" returning gibberish, but don't know how to 
fix it.

Any ideas?

pkg-config just doesn't seem to deal with multi-byte characters at all. In parce.c it assumes one byte equals one character. The problem is general; has nothing to do with MXE. You can try installing some native Linux package in ~/home/Документы and export PKG_CONFIG_PATH accordingly, and you'll get gibberish.

So, long story short: there's no way to fix the problem from the MXE side.

One way for the distro where MXE run in to fix this, is to switch to pkgconf instead. I've tested it, and UTF-8 pathnames, including "Документы" work just fine. As a bonus, pkgconf has no dependencies; it's pure C. Gentoo considered switching, but it's not 100% compatible yet (though pretty close):

http://comments.gmane.org/gmane.linux.gentoo.devel/82470




reply via email to

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