dir separator patch for gcc/collect2.c

Jeffrey A Law law@upchuck.cygnus.com
Sat Apr 10 04:27:00 GMT 1999


  In message <199903311758.RAA18384@out5.ibm.net>you write:
  > gcc/collect2.c also needs an adjustment:
  > 
  > gcc/collect2.c:
  > * find_a_file: Use HAVE_DOS_BASED_FILE_SYSTEM in place of the 
  > DIR_SEPARATOR test.
  >   Consider any file starting with a drivename to be absolute.
  >   If the absolute filename test fails and EXECUTABLE_SUFFIX is 
  > defined, append EXECUTABLE_SUFFIX to the file and try again.
  > 
  > Note that I changed file_a_file to consider all files starting with a drive
  >  
  > name absolute. This is because in the next section, the file is given a 
  > prefix and tested. But prefixing a file having a drive name, directory 
  > separator following it or not, will never succeed, so don't bother.
I've installed all 4 of your directory separator related patches.

Thanks for your patience,
jeff


More information about the Gcc-patches mailing list