PATH for libstdc++ Makefile

Jeffrey A Law
Thu Sep 24 01:31:00 GMT 1998

  In message < >you write:
  > I just got bitten by an odd situation.  The line to build
  > is something like:
  >   xgcc -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates
  >   -Wl,-soname, -shared -o
  > `cat piclist` -lm
  > But, this passes `-lgcc' to the linker and the directories searched do
  > not include the directory containing the recently built libgcc.a.
  > Therefore, you get whatever libgcc.a is lying around in
  > /usr/local/lib, etc.
  > Jeff, OK?
No, the patch is wrong.  What happened to your various -B flags that
are supposed to be passed during build so that xgcc can find its
various programs (cpp, cc1, cc1plus, etc) and libraries (libgcc).

Somehow those flags have been lost.


More information about the Gcc-patches mailing list