| Re: [hatari-devel] cmake and cross-compiling | 
[ Thread Index | 
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
] 
- To: Nicolas Pomarède <npomarede@xxxxxxxxxxxx>
- Subject: Re: [hatari-devel] cmake and cross-compiling
- From: Christer Solskogen <christer.solskogen@xxxxxxxxx>
- Date: Sun, 30 Dec 2012 23:05:33 +0100
- 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=K1JWXTuF1elb5dRG/5d36t1S2dVCYSK5wUa62PddH90=;        b=ZycVb/IgK7fwqrRZ7qrQ0cwpijdH60+APEcoilVN8w5ALrH3FTO/czjPBIeolJSjSL         uP7EqfmOqTXNJkKKQ1knsxXq5K5NVZfvGsnphIKFb6JT/F7GNFo2cNy8ys7gvQgi1nFR         K8IpyaWRLyiyyHRSOFZcEf241KL8f1DQ9SUChER6ule+U0VXaGxiQI/V8473q2jWfJYB         jJHpQS8WpnBFQ+Y+CYyyUQA4QdoS0Y4xW4XsM6OSBA2OcCNWDYQSdW9hQQLh/39Lq6cJ         akGpA7In5x2BBu8rfd7sS5BYTFUAxBYx3Xt1LGPj3WNsNl9MRqMl8ISZq4eoDD/Zu9J3         3K8g==
On Sun, Dec 30, 2012 at 10:51 PM, Nicolas Pomarède
<npomarede@xxxxxxxxxxxx> wrote:
> What is the content of /home/solskogen/obj/cross-mingw-w64 and what value do
> you use manually to make it work ?
>
ls /home/solskogen/obj/cross-mingw-w64
bin  include  lib  libexec  mingw  x86_64-w64-mingw32
(mingw is a symlink to x86_64-w64-mingw32)
> What is the detected value of CMAKE_FIND_ROOT_PATH in
> Toolchain-mingw32.cmake ? On line 24, add sthg like :
>
> message ( "new root is ${CMAKE_FIND_ROOT_PATH} );
>
new root is /data/home/solskogen/obj/cross-mingw-w64/bin/../../cross-mingw-w64/mingw/
ls  /data/home/solskogen/obj/cross-mingw-w64/bin/../../cross-mingw-w64/mingw/
bin  include  lib  pkgconfig  share
(which is the sysroot where the mingw64 headers, and libraries are)
-- 
chs,