[MonoDevelop] vala cross compiling questions

Levi Bard taktaktaktaktaktaktaktaktaktak at gmail.com
Thu Jul 29 03:38:06 EDT 2010

> I need to have the intermediate C code generated by valac use a different toolchain for cross -compilation. I've run into a couple of issues here.
> 1) Where does monodevelop place the intermediate C code generated by valac?  Which I don't intend to modify this code directly, for packaging reasons I will need access to this at some point.  It seems as though monodevelop-vala deletes the intermediate C files after generating the binary.  If this is so, does anyone know how to prevent this?
> 2) How do I specify a C toolchain (compiler, linker etc) of choosing in monodevelop?  The preferences have a drop down box, but I only seem to be able to select gcc and not my cross compiler.

Hi Nigel,
MonoDevelop more or less lets valac do its own thing. You can add -C
to the vala compiler options in your project options, and valac will
just output the .c and .h files.
As far as specifying a C toolchain, we're talking about for a C
project, right?  In that case, MD currently only supports gcc,
although you can work around this by using the Makefile integration or
custom build steps.


More information about the Monodevelop-list mailing list