Re: [hatari-devel] mingw-w64 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] mingw-w64
- From: Christer Solskogen <christer.solskogen@xxxxxxxxx>
- Date: Thu, 26 Sep 2013 18:09:17 +0200
- 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 :content-type; bh=TLR52RCptRIyshb16AVBw+0hpb46cbbVDAQkHBjZ8OE=; b=rUIDJIVAQbiCNC2TuPvaWsyoxcZTpLAVQvSoiTSGDqr+Bjhs09bGMCHYgV/WsDf657 I24uBOobCBcvCXNI6pqAOm/1O4zXPkGwJln4osxk+OBuKdEYH+9bcI1oX5TcMb8bFAQl a4NwLUU4NYWhZG01Fep8uHVTTJ3JirH+hUiC5QV5hpcZkXoNEVM2tgW05uWd5K02UrDt pt//K2gz1zMCwcY1aqkSiOggUP5rbQ1Gl4YBg0nHpzXLMYzv4tkWrzz8369lIXQ/qpFa hU7HSclY8p7f9TnwAEMUuTVi4DBFBY5IHEn35w/61A1oi31F7OU9nOD0+P6n8Vz/zfbQ NuDQ==
On Thu, Sep 26, 2013 at 12:26 PM, Christer Solskogen
<christer.solskogen@xxxxxxxxx> wrote:
> The compiler does. If you use for instance have #include <SDL/SDL.h>
> in your source file, the cross compiler will *not* use the one in
> /usr/include, but will instead use the one that is located in
> $SYSROOT.
And this is where cmake is the one that causes the problem. Because
cmake does not ask the compiler where to find the include file (or
library, I guess) - it searches for include files itself. I'll see
what I'll come up with during the evening. I won't promise anything,
but hopefully you'll get a patch that we both agree on. I must admit
that the change you did was good, since now only one toolchain file is
needed.
--
chs,