PATCH for COLLECT2 (revised)

Jason Merrill jason@cygnus.com
Thu Oct 29 11:57:00 GMT 1998


Can we use pexecute.c instead of conditionalizing the code in collect2.c?

Is it actually necessary to change / to \?  I thought DOS accepted both.

I don't think it'll work to do

  system ("cd foo");
  system ("do stuff in foo");

On Unix, at least, the first call has no effect.  I think you should
change the code to use chdir(3) instead.  That way you won't need to
conditionalize it.

Jason



More information about the Gcc-patches mailing list