This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH for COLLECT2 (revised)
- To: "Mark E." <snowball3 at usa dot net>
- Subject: Re: PATCH for COLLECT2 (revised)
- From: Jason Merrill <jason at cygnus dot com>
- Date: 29 Oct 1998 11:57:08 -0800
- Cc: egcs-patches at cygnus dot com
- References: <199810291418.OAA14872@out1.ibm.net>
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