Another quick newbie question: The program segfaults because there is a memory violation of some sort - is it because the program is trying to write to some memory area marked read-only?
> char *ptr = "adam"; Where is ptr getting stored and where does it get stored when I use -xstrconst? Can anyone give me some tips on how I can find this out from the compiled binary file? This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
