Re: [hatari-devel] mingw-w64 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: Nicolas Pomarède <npomarede@xxxxxxxxxxxx>
- Subject: Re: [hatari-devel] mingw-w64
- From: Christer Solskogen <christer.solskogen@xxxxxxxxx>
- Date: Sat, 21 Sep 2013 08:26:54 +0200
- Cc: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=VMqEd2NPLQqiRAjySWbsS5Qckk94ZSFCwo/xRF7b1qY=; b=OjG7sm2pvrykO+X/nCC/747K5HpLFYFWWBE5Fbv3/qSkKnylvoWV2FXA3GyB/bdMlv xvkFRjblpH2M4dnKyH54jtnxdqz3S4ft6EDmvEQODjoiFr4u6PAKsKAJ4exiWubq3NpE /yB6C2IUSTiZdDVicuIeJnPvhsqnx/yZJwUs7rPgg9Nz41ZVTPwdENg0pT0m/oyHrfbt Kz9YGixW4AxU5glbxK/YzlHeopQ7z2cplFbpdpE0LHDkcgFxgd2gt/Ja5BW/sTUywX4l bJELCo5cWi/LKT4+97l+oUQSlYFQ5ZlEoYzILFFJ2WT1ijKPvG1m4txedFVX5U1pXSHh kO0Q==
On Fri, Sep 20, 2013 at 11:24 PM, Nicolas Pomarède
<npomarede@xxxxxxxxxxxx> wrote:
> Le 20/09/2013 20:38, Christer Solskogen a écrit :
>
>> On Fri, Sep 20, 2013 at 8:29 PM, Nicolas Pomarède
>> <npomarede@xxxxxxxxxxxx> wrote:
>>>
>>> your mingw is in /opt, is it because you compiled/installed it yourself,
>>> or
>>> is it your distrib that puts it here ? (it usually goes into /usr in most
>>> distrib)
>>>
>>
>> I've compiled it my self. I use the latest trunk of mingw-w64.
>> Just to make stuff "worse" - cmake have no trouble finding SDL library
>> even without setting SDLDIR.
>>
>
> Just trying to understand, but it could be that something was not correctly
> configured when you configured mingw to go in /opt ?
>
I'm very sure that something is not correct. I'm able to use that
cross compiler to create a native Windows GCC installation.
I think the problem is really cmake, which has some paths hardcoded.
I'm also not the only one with problems:
http://public.kitware.com/Bug/view.php?id=14004
The reason why I'm so certain that the problem is cmake is the fact
that cmake have no trouble finding libSDL. It finds libSDL even
without setting the hint.
> Do you have the possibility to install the mingw packages provided by your
> distrib ? Even if it's not the most up to date version for you, just to see
> if this version is correctly detected by cmake ?
>
Does not apply, since mingw-w64 provided by Ubuntu does not configure
gcc to be sysroot aware. -print-sysroot will print nothing.
--
chs,