PATH for libstdc++ Makefile

Jeffrey A Law law@cygnus.com
Thu Sep 24 01:31:00 GMT 1998


  In message < 199809220757.AAA31000@smtp.earthlink.net >you write:
  > 
  > I just got bitten by an odd situation.  The line to build libstdc++.so
  > is something like:
  > 
  >   xgcc -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates
  >   -Wl,-soname,libstdc++-libc6.0-1.so.2 -shared -o
  >   libstdc++-2-libc6.0-1-2.9.0.so `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.

jeff



More information about the Gcc-patches mailing list