[Mono-dev] Compiling with NaCl support

Raja R Harinath harinath at hurrynot.org
Tue Aug 17 02:44:37 EDT 2010


Kannan Goundan <kannan at cakoose.com> writes:

> I'm not too familiar with this stuff.  How do I cross compile Mono?  I
> tried adding "--target=i386-unknown-linux" to my "./autogen.sh"
> invocation, but I got the same error as before.

Well, we don't support JITing to a different architecture from the
host.  So, 'target' is not appropriate.  Unless you're building GCC or
Binutils, --target is mostly wrong.

>From configure --help, we get:

  System types:
    --build=BUILD     configure for building on BUILD [guessed]
    --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    --target=TARGET   configure for building compilers for TARGET [HOST]

which suggests --host might be a better alternative.

- Hari

More information about the Mono-devel-list mailing list