Re: [hatari-devel] cmake and cross-compiling

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


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,



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/