This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Modification of literal strings


David W Stockton <stockton@bcm.tmc.edu> writes:

> I am not sure if I am e-mailing the right place but I just spent about 2
> hours reading FAQs and searching the GCC web-site and cannot find the
> answer I need so I thought I would try sending it to you...  if there is
> a more appropriate place please let me know and I will ask there.

I believe gcc-help is a better address for these sorts of questions.

> Is there a compile time option or modification to the specs file to make
> literal not readonly so this code runs on all the platforms?

I think you're looking for -fwritable-strings.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]