Hi,

Monkey build system is based in CMake, the configure script that you see
now is a wrapper over CMake options, that scripts exists for compatibility
things from previous versions, to be deprecated in the new 1.7 series.

You can create your own CMake toolchain file, here is an example:

   https://github.com/monkey/monkey/blob/master/cmake/arduino-yun.cmake

then you invoke that file as:

 cmake -DCMAKE_TOOLCHAIN_FILE=my_toolchain_file.cmake OTHER OPTIONS ../

let me know how it goes,

best


On Tue, Jun 21, 2016 at 2:05 PM, Muffinman <[email protected]> wrote:

> Hello All,
>
> I figured I'd give Monkey a try and see how it works for my purpose.
> Unfortunately I seem to run into a bit of trouble compiling the thing.
>
> I'm crosscompiling under amd64 for armhf. Below I have copied the relevant
> output of "make". It finds the right gcc but obviously it can't run the
> compiled result. It suggest to use the option --host, but ./configure
> doesn't have that option... so where do I specify the host?
>
> It seems like a simple problem.... does anyone have a suggestion on a fix?
>
> Thanks in advance and kind regards, Maarten
>
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... configure: error: in
> `/mnt/monkey-1.6.9/build/jemalloc-prefix/src/jemalloc-build':
> configure: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> _______________________________________________
> Monkey mailing list
> [email protected]
> http://lists.monkey-project.com/listinfo/monkey
>



-- 
Eduardo Silva
http://edsiper.linuxchile.cl
http://monkey-project.com
_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to