as and debug problems with long template names on dec alpha

Jeffrey A Law law@unknown
Tue Jan 20 07:11:00 GMT 1998


  In message < 199801192208.OAA07344@ren.cse.ucsc.edu >you write:
  > The first problem is fairly simple,  how do I build egcs to use an explicit
  > path to the dec assembler?  gas doesn't work on this platform so I need
  > to use /usr/bin/as, but gnu as is installed as well.  I changed my path
  > when I compiled egcs to find /usr/bin first, but depending on how the 
  > person using egcs has their path set it will fail if gnu as is found
  > instead.
There's no command line option to do this.  At least not a good one.

Basically gcc has a set of built-in search paths.  You need to make sure
gnu-as is in gcc's built-in path before /usr/bin.

gcc --print-search-dirs

Will print out gcc's program search path.


Note that if you configure gas/binutils and egcs with the same --prefix
option, then egcs should automatically find gas before any other
system assemblers.

  > The second problem is due to the length of functions created when using
  > the string class. 
Yes, these very long names cause problems on multiple platforms; I think
the long term plan is to rework how name mangling works to use a more
compact representation.  I do not know what the timeframe for this
work is.

jeff



More information about the Gcc-bugs mailing list