Re: Is there any compile option equel "__attribute__" ?

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

 



star young <zhongzifaya@xxxxxxxxx> writes:

> some data arrays has been defined as const type ,so when i compile the
> source code,the data arrays are put in .text section,but I want to
> move it to .data section. yet i can't change the source code,so  i can
> only make it through the command line

How about -Dconst= ?

Otherwise I don't think there is anything you can do without changing
either the source code or the compiler.

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