This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [libstdc++] Fix _GLIBCPP_VERSION
On Mon, Jul 01, 2002 at 11:47:03PM -0700, B. Kosnik wrote:
> > Benjamin's patch also had code to discover the compiler version from
> > the sources. I've replaced that with a call to the compiler instead
> > (simpler code), and shuffled the configury script fragments a bit. So
> > in addition to using the version to determine the header file
> > directory, we also use it to create _GLIBCPP_VERSION.
>
> Nice. You might want to consider moving this up to gcc/configure.in and
> ../config.if as well.
It runs the freshly-built compiler, so we can't use it in gcc/configure.in.
I don't know when config.if is called.
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams