Some weird bug with non gnu-make

Alexandre Oliva
Fri Jul 27 02:15:00 GMT 2001

On Jul 14, 2001, Marc Espie <> wrote:

> Specifically, the version of CC that libmath/Makefile gets comes from the
> environment, set from higher level Makefiles, and the NOEXPORT makes the
> version in libstdc++-v3/Makefile transparent for gnu-make...

That's odd.  libstdc++/libmath should be using the CC it was
originally configured for, which should be exactly what the top-level
Makefile passes down to libstdc++.  If libmath gets CC from the
environment, and it differs from the CC that was passed to libstdc++,
there's some problem in the building tools.

> But it is not transparent for non gnu-make ! And it includes one -fpic at
> the end that libtool was never configured for.

Do you have any idea of where this -fpic is coming from?

Alexandre Oliva   Enjoy Guarana', see
Red Hat GCC Developer                  aoliva@{,}
CS PhD student at IC-Unicamp        oliva@{,}
Free Software Evangelist    *Please* write to mailing lists, not to me

More information about the Gcc-bugs mailing list