Re: Is it possible to build Single GCC Executable for armv5, armv6, armv7-{cortex-xx-{A,R,M}},armv8 etc.?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 10 Nov 2019 at 11:36, Israr Sayed <sd.israr@xxxxxxxxx> wrote:
>
> Digging into the sources of GCC I noticed in files gcc/config/arm/t-*, There are multiple arm target options.
>
> Reading [GCC internal Manual], These are called Target Makefile Fragments, which will be included in main Makefile, like MULTILIB_OPTIONS, MULTILIB_DIRNAMES, MULTILIB_MATCHES, MULTILIB_REQUIRED, MULTILIB_REUSE, MULTILIB_EXTRA_OPTS, MULTILIB_OSDIRNAMES, MULTIARCH_DIRNAME.
>
> What I am not able to understand that how to bring it in at the time of configure.Which option to choose?
>
> More over is it possible to edit those t-* files as per the requirement and how?
> Please Help.

I don't understand your question. Your email's subject talks about a
single GCC executable for multiple ARM variants, which is supported
automatically. When you configure GCC for an ARM target you can select
the specific processor type using the -march and/or -mcpu options. See
the documentation of command-line options in the GCC manual.

You don't need to do anything special to use the target makefile
fragments, they're used automatically, as needed.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux