This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH for COLLECT2 (revised)


> 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]