Are you following the directions here? http://www.cmake.org/Wiki/CMake_Cross_Compiling
Or trying to cross compile some other way...? On Mon, Jan 4, 2010 at 3:00 AM, Daniel Stonier <d.ston...@gmail.com> wrote: > > The more I use cmake, the more I find it difficult to bend in to shape to > cross compile. The original design doesn't seem to be designed for anything > more than windows-linux or linux-windows cross compiles. > > Some things I'm having to currently work around by creating my own > cross-compiling set of modules. My host is an amd64 linux and my target is > an arm linux. > > - You can't set CMAKE_SYSTEM_NAME to anything useful other than Linux, > which of course doesn't trigger the cross-compile variable CROSS_COMPILING > because the host is the same. > - There is no distinction between install prefixes for the target and the > host. Sometimes I'd like to put various build tools on the host system at > the same time as libs and binaries on the target root. > - Debian packaging in cpack will only ever put things in /usr, regardless > of cross-compiles or different CMAKE_INSTALL_PREFIX. Refer again to above > comment. > > Having some useful autotools install style variables (--prefix and > --exec-prefix), someway of utilising of proper gnu tuples (e.g. > arm-unknown-linux-gnueabi) would make things alot easier. > > Is this planned or is this something that could use a nudge to move into a > useful direction? > > Do many other people cross-compile much with cmake? > > -- > Phone : +82-10-5400-3296 (010-5400-3296) > HomePage: http://snorriheim.dnsdojo.com/ > Yujin Robot: http://www.yujinrobot.com/ > Projects: http://snorriheim.dnsdojo.com/redmine/projects > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake