This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


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

adding 'g++-v3/cshadow' to cpp search path...


Greetings,

I didn't have time to dig more into sorting out the real cshadow
problem, so I decided I could at least be productive by hacking the 
gcc build to have cpp search 'g++-v3/cshadow' for includes first.

I'm setting this up so the shadow directory, tentatively named
cshadow, will contain _all_ shadowed headers (from shadow and cshadow 
from the current libstdc++-v3 build) and live within the current
installed g++-v3 include directory. It should be very simple to 
change the name from cshadow, however.

( random thought: wouldn't it be nice if there was a cpp-specs
  file that this sort of thing could be _easily_ managed from? )

If any of this approach is objectionable, let me know before I
go much further.

I intend to have this new search directory added whenever 
--enable-cshadow-headers in a configure option. This shouldn't
cause any problems, as we can just _not_ install the shadow
headers until they are ready. (is this assumption sane ?)

Having this new search path added will make it easier to work
on the _real_ cshadow problem a bit more efficiently (I imagine).

cheers.
  brent

-- 
Damon Brent Verner                        o      _     _         _
Cracker JackŪ Surprise Certified  _o     /\_   _ \\o  (_)\__/o  (_)
brent@rcfile.org                _< \_   _>(_) (_)/<_    \_| \   _|/' \/
brent@linux1.org               (_)>(_) (_)        (_)   (_)    (_)'  _\o_

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