Re: [hatari-devel] cmake and cross-compiling |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
On 29/12/2012 14:14, Christer Solskogen wrote:
On Fri, Dec 28, 2012 at 11:09 PM, Nicolas Pomarède <npomarede@xxxxxxxxxxxx> wrote:I tried that, but it doesn't work in my case.You are right. But then CMAKE_FIND_ROOT_PATH could be" $CMAKE_C_COMPILER -print-sysroot" + /mingw.
Yes, I could do this, but I'm not sure all distros are storing bin/, lib/, include/ and share/ in CMAKE_FIND_ROOT_PATH/mingw, some are directly in CMAKE_FIND_ROOT_PATH/
For people having installed mingw reading this, can you see what "i586-pc-mingw32-gcc -print-sysroot" reports and what is the content of this directory ?
If we all have "/mingw" in the path, I can change Cmake file to use that (it can't give worse result than today).
Nicolas
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |