This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: gcc 4.0.0 optimization vs. id strings (RCS, SCCS, etc.)
- From: "Gary Funck" <gary at intrepid dot com>
- To: <gcc at gcc dot gnu dot org>
- Date: Tue, 26 Apr 2005 10:55:19 -0700
- Subject: RE: gcc 4.0.0 optimization vs. id strings (RCS, SCCS, etc.)
We use the feature of placing strings into the object file somewhat
differently.
We record configuration and compilation-related info. into strings which are
collesced into their own linkage section. A runtime component traverses
this
config. info. section to ensure that the various separately linked modules
have been compiled with consistent settings. Yes, this might be better done
by a host based tool like collect, but that requires more work and more
mechanism, and the simpler approach works fine for now.