X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: dimke DOT fax AT uni DOT de (Markus R. Keßler) Newsgroups: comp.os.msdos.djgpp Subject: Re: Piping gcc output to a file? Date: Thu, 12 Jul 2007 15:31:02 GMT Message-ID: <469647dd.9641699@news.arcor.de> References: <1184113135 DOT 135541 DOT 268270 AT q75g2000hsh DOT googlegroups DOT com> <200707110044 DOT l6B0imjE022191 AT envy DOT delorie DOT com> <46946F67 DOT 671072E7 AT uni DOT de> <1184190369 DOT 847512 DOT 298730 AT n2g2000hse DOT googlegroups DOT com> <1184242769 DOT 081605 DOT 242030 AT g4g2000hsf DOT googlegroups DOT com> <1184247209 DOT 488599 DOT 108700 AT m3g2000hsh DOT googlegroups DOT com> X-Newsreader: Forte Agent 1.5/16.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 41 Organization: Arcor NNTP-Posting-Date: 12 Jul 2007 16:31:26 CEST NNTP-Posting-Host: 816bac56.newsspool1.arcor-online.net X-Trace: DXC=BTJe[edIl`PPU8j_I0DN6_ic==]BZ:af^4Fo<]lROoRQFl8W>\BH3YR4]4:FNWG85\`\c:XeUkT7^3@:i]Kj7V_UcQ:F67iOD@^ X-Complaints-To: usenet-abuse AT arcor DOT de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 12 Jul 2007 06:33:29 -0700, kilik3000 AT gmail DOT com wrote: >What was the command syntax in dosbox? > >I tried the "redir" option listed on the faq and all I got was an >empty log file created. > >http://www.delorie.com/djgpp/v2faq/faq6_15.html Ok, this seems that you are using dosbox _only_, without (DJPGG) Bash. Right? Sorry, if it was not said clearly enough: You need a shell that can handle _different_ file descriptors. In Unix and similar operation systems this is a "de facto" standard from the beginning, but m$ and, as it looks like, also "dosbox" does not support this. So, if you use the tools from DJGPP, then I recommend using the bash as a shell, too. It is a Unix-like environment and redirecting will no longer be a problem. I have the whole DJGPP things on any of my pcs. [152 root AT i586pc tempbash]$ banner 'Try it!' ####### ### # ##### # # # ##### ### # # # # # # # ### # # # # # # # # ##### # # # # # # # # # ### # # # # # # ### [153 root AT i586pc tempbash]$ :-) Best regards, Markus -- Please reply to group only. For private email please use http://www.dipl-ing-kessler.de/email.htm