I've been at this so long you think I should know better I've been under the apparently mistaken assumption that if I dilligently pepper struct definitions and subsequent declarations and initializations with "const" that the compiler will attempt to place that data in readonly text
I've done this with the libast tables in conftab.c lc.c but nm and size show the data going to the .data section am I expecting too much from cc to do this without prodding? is there a set of options that at least works for gcc on multiple architectures? or at least for solaris and the ksh93 integration? thanks -- Glenn Fowler -- AT&T Research, Florham Park NJ --
