View Single Post
Old 09-10-2013, 12:32 PM   #45
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@twobob: What's the issue with CMake?

If the scripts aren't stupid (I'm looking at you, elektra), it's mosltly painless (basically, have a proper env, and overload CMAKE_C_COMPILER & friends to point to the right TC).

Cf. the convoluted way I built elektra (https://svn.ak-team.com/svn/Configs/...isc/libelektra), where there is a bit of trickery because the build process tries to run some freshly compiled helper binaries to build a couple of headers, which obviously is a big no-no when x-compiling. So, err, this, but much simpler (mkdir -p build && cd build && cmake -DBLAH... .. && make && make install) ^^.
NiLuJe is offline   Reply With Quote