Re: What version of GCC started supporting .arch_extension sec

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

 



On Wed, Jul 25, 2012 at 5:02 PM, William Roberts
<bill.c.roberts@xxxxxxxxx> wrote:
> Yes it is in the assembler I should have mentioned it, is their a
> separate mailing list for that?

binutils@xxxxxxxxxxxxxx.  See http://sourceware.org/binutils/ .

> I need a way to conditionally add ".arch_extension sec" based on some
> environment preprocessor flag.
>
> Currently I am currently doing something like this:
> #if __GNUC__ >= 4 && __GNUC_MINOR__ >= 6
>         .arch_extension sec
> #endif
>
> Which I know isn't completely what I want.

It's going to depend on the assembler version, which is logically
independent of the compiler version.  Unfortunately I don't know of a
way to test the assembler version, either in the compiler or in the
assembler.  If you were writing a GNU tool I would recommend testing
the assembler feature in your configure script.

Ian


[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