Modification of literal strings

Russ Allbery rra@stanford.edu
Mon Nov 4 19:12:00 GMT 2002


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/>



More information about the Gcc mailing list