This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH for COLLECT2 (revised)
- To: egcs-patches at cygnus dot com
- Subject: Re: PATCH for COLLECT2 (revised)
- From: "Mark E." <snowball3 at usa dot net>
- Date: Thu, 29 Oct 1998 22:03:53 +0000
- CC: jason at cygnus dot com
- References: "Mark E."'s message of Thu, 29 Oct 1998 10:18:37 +0000
> Can we use pexecute.c instead of conditionalizing the code in collect2.c?
Yes, if stdout & stderr in Unix can be redirected back to the console with a
method similiar to the one I use for DOS in my patch:
freopen("CON", "a", stdout);
freopen("CON", "a", stderr);
Someone let me know if that method works in Unix like it does in DOS.
Thanks,
Mark
--
Mark Elbrecht snowball3@usa.net
http://members.xoom.com/snowball3/