[PATCH] RTL: Fix options handle and add a new option to rtems-ld

Chris Johns chrisj at rtems.org
Tue Aug 12 02:56:25 UTC 2014


On 11/08/2014 12:24 am, Peng Fan wrote:
>
> 1. Fix getopt_long usage in rtl host. some shorthand options are not
> hanlded correctly, this patch fixes it.

Thanks for cleaning this up.

> 2. Add a new option '--mach-flags'/'-m' to rtems-ld. This optarg of this
> option will be passed to xx-rtemsxx-gcc, it will be used the search lib
> dirs. Detailed msg is in the commit log of the patch.

I wonder if we need the explicit -march and -mcpu options and this or 
should we remove them and add a more general option that can include 
these flags. When I added the -march etc I thought this was all that was 
needed and that is proving to be a little naive.

What do you think ?

Chris



More information about the devel mailing list