LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Closed Thread
  Search this Thread
Old 04-20-2008, 03:47 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, 03:53 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

http://www.linuxquestions.org/questi...7/#post3127266
 
Old 04-20-2008, 03:53 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
c++ filename.cpp 2>/home/user/wherever/errors.txt


---------------------
Steve Stites
 
  


Closed Thread



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 On
HTML code is Off



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:52 AM.

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
Open Source Consulting | Domain Registration