COLLECT_GCC and friends

Jeffrey A Law law@redhat.com
Tue Jan 23 16:43:00 GMT 2001


  In message < 20010122115543B.mitchell@codesourcery.com >you write:
  > 
  > We pass COLLECT_GCC and COLLECT_GCC_OPTIONS through the environment
  > rather than through command-line arguments to collect2?
  > 
  > It's rather tricky us hiding these things away, and makes cutting and
  > pasting -v output in the shell not work, which is very unfriendly to
  > debugging on platforms where collect2 is used.
  > 
  > What's the rationale?
I suspect most of this braindamage is related to when collect2 was actually
called "ld" and we had to play silly games to make sure the right options got
passed to the right program.  It can probably be cleaned up significantly now
that collect2 is actually called collect2.

jeff



More information about the Gcc mailing list