Less kludgy way to fix PR/17369, take 2 (a month after...)

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Tue Mar 29 10:40:00 GMT 2005


While waiting for the approval of my patch at 
http://gcc.gnu.org/ml/gcc-patches/2005-02/msg01800.html, I have had a 
lot of time to think more about it and decided to add generic support to 
Makefile.def.

Citing the message above, "I really cannot understand why the setting of 
LD_LIBRARY_PATH to include gcc is so complicated.

Probably the reason for this complication was to have the 
LD_LIBRARY_PATH set when one runs "make" from within the gcc directory, 
but this was mitigated by the TARGET-* support added to the toplevel; 
and it is also buggy, because if you modify gcc's configure.ac and make 
from within the gcc directory, the "export" disappears from the Makefile."

Most of the patch actually removes the now redundant $(SET_LIB_PATH) 
expansions.

Tested on powerpc-apple-darwin7.8.0, where the PR's behavior manifests. 
  This cleanup patch (and others) is blocking toplevel bootstrap, that 
is planned for stage 2.  Ok for gcc and src, please?

Paolo

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-lib-path-mess.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050329/ed3b20cc/attachment.ksh>


More information about the Gcc-patches mailing list