LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-20-2008, 04:42 PM   #1
sagar123
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Rep: Reputation: 0
linux command for storing compilation error to fil


i am compiling a cpp file using a command "c++ filename.cpp" and run the program through ./a.out
how can i store the compilation error to text file
 
Old 04-20-2008, 04:54 PM   #2
vkmgeek
Member
 
Registered: Feb 2006
Location: Ahmedabad
Distribution: rhel5
Posts: 185
Blog Entries: 2

Rep: Reputation: 31
root#]"your compilation command" &> filname.log
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fil descriptor available for squid sholah Linux - Software 1 12-31-2006 05:48 PM
compilation error in linux-2.4.21 with kgdb patch priya001 Linux - Kernel 0 12-18-2006 09:47 AM
Compilation error when including <linux/ext3_fs.h> in SuSE Linux 9.0 (i586) seshasai Linux - Distributions 0 06-01-2004 04:22 AM


All times are GMT -5. The time now is 08:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration