Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Redirect Linker Error



On Thu, 19 Sep 2002, Godwin Stewart wrote:

> On Thu, 19 Sep 2002 17:07:40 +0800, "Adonnis A. Enriquez"
> <adonnis@example.com> squashed this out of the keyboard:
> 
> >     Sorry for this nonsense question.
> >     Any idea how to redirect gcc linker error to a file
> >     rather to a console?
> 
> $ man bash
> 
> $ gcc [parameters] > your_file 2>&1
> 
> This will redirect stdout and stderr to your_file.
> 
> If you only want to intercept stdout and keep stderr on the console then
> leave out the "2>&1".
> 

for more information about redirect:

http://www.tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html


+----------------------------------------------------------+
|            Nguyen Vu Hung( vuhung@example.com )              |
| The University of Electro-Communications, Tokyo, Japan   |
+----------------------------------------------------------+
| Takeshi's small space   http://site.techviet.com/vuhung/ |
| Join KDE-i18n-Vi?       http://vi.i18n.kde.org/          |
| VYSA                    http://vysasports.vngate.net/    |
| Vn Linux Users Group    http://vietlug.sourceforge.net/  |
| Tokyo Linux Users Group http://www.tlug.gr.jp/           |
+----------------------------------------------------------+



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links