This is the mail archive of the
mailing list for the GCC project.
Re: Add Android related compilation options and multilib options
2009/6/16 Mark Mitchell <email@example.com>:
> But, my feeling is that far too many things in GCC are determined at
> compile-time. ?GCC is the only compiler that requires that you pick at
> compile-time what RTOS you're targeting, and that's not a feature. ?Some
> compilers can even switch between architecture (e.g., ARM vs. MIPS) with
> a compile-time option. ?So, we should be making GCC more dynamic, not
> less dynamic, and adding -mandroid is a step towards that. ?If we were
> to have an arm-android configuration, it should just be arm-eabi with
> -mandroid turned on by default.
I agree with you that a more flexible gcc is a good thing. However,
to make that work, we need to build run-time libraries for each of the
dynamic targets gcc is configured to support. Using multilibs may not
be the best approach though.