SoulofDeity wrote:
iansjack wrote:
I only moved and renamed the original compiler files to be absolutely sure that they weren't somehow being used. This was just to make the test valid.
No, it invalidates the test entirely. You manually changed where the original gcc was. I know for a fact that MonoDevelop checks /usr/bin first regardless of the path. That's why I told you specifically to add '-dumpmachine' to your project and check the console.
If you say so. "Known" facts are often deceptive - experiment is the best test of facts.
I've tried it again, without touching the compiler files in /usr/bin - same result. My system compiler is 64-bit; the cross-compiler is 32-bit. The resulting object files were 32-bit; I have difficulty explaining that if the cross-compiler wan't used.
There's more than one way to skin a cat. You could always just define a custom compile command in the project options, using the cross-compiler. It comes to the same thing, but you are making it rather more explicit - no need to mess with your "/usr/bin" files.
Of course, you are going to have problems if you haven't built all the appropriate C or C++ libraries for your cross-compiler, but this would cause you problems however you used it.
I'm sorry you can't get this to work, but I'm really not going to waste more time on it. It works for me.