| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | EMX\GNU C |
-=> Quoting andrew clarke to Mick Howe <=-
ac> 08 Jul 96 20:24, Mick Howe wrote to All:
> Does anybody know how to echo stderr to a file when using EMX/GCC,
ac> If you happen to use Rex Conn's 4OS/2 shell, you can use:
ac> gcc myfile.c >& errors
ac> to redirect both stdout and stderr to 'errors'.
That's not unique to 4OS2, you also can do that with cmd.exe.
redirect stdout and stderr to a file;
gcc file.c 2>&1 errors.txt
Phil - Fido: 1:124/8014.0 | Internet: phil.crown{at}bluecafe.com
--- Blue Wave/OS2 v2.30
* Origin: * MacSavvy OS/2 BBS * Dallas, Texas * 214-250-4479 * (1:124/1208)SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934 SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1 @PATH: 124/1208 1 396/1 270/101 712/515 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.