Section pragmas

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

 



Hi

I am very shocked to find out that GCC GNU does not support section
pragams. I have to declare an attribute for every single variable and
function for hundreds of files where I can just use few pragmas on other
compilers.

I do not understand why would GNU discourage the use of pragmas where they
can be so useful. I understand that I can use linked scripts but that
requires organization of object files and for a lot of cases it is much
more effective to do that in the codebase. I am really really shocked!!

I hope future releases will change this attitude against pragmas. Very
disappointing!

Is there any way that I can use the attribution section for multiple lines
of code rather than doing it for every line? (No I will not do it in a
linker script)

Thanks!



[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