This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][ARM] Support arm-android-eabi


2008/6/30 Mark Mitchell <mark@codesourcery.com>:


> This version looks reasonable to me.  But, I want to allow the ARM backend
> maintainers a chance to comment.  If you don't hear anything in a week,
> please ping me.

Thanks. I will wait for a week then.

> I don't know.  Do we do that in any other backend?  In my ideal world,
> there'd be a "--with-options=" option to configure that would cause the
> driver to assume those options appeared on every command-line.  Then, you
> could just configure with that.

I don't think we do that in any backend. My proposal is quite a hack.
I like your idea better. It is sufficient for my purpose but I don't
think a single option is sufficient in general. We may need a family
of options for different front-end to pass front-end depended options.
Passing specs will be even better IMHO.

-Doug

> For example:
>
>  configure --with-options="-mandroid -meb"
>
> would be a way of saying that:
>
>  gcc -c foo.c
>
> should be treated as equivalent to:
>
>  gcc -mandroid -meb -c foo.c
>
> Maybe the string passed in could be a specs string which would allow a bit
> more power, potentially.
>
> Thoughts?
>
> --
> Mark Mitchell
> CodeSourcery
> mark@codesourcery.com
> (650) 331-3385 x713
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]