RE: [gtkmm] Piping compiler error to a file - How?



Can you copy and paste the line you typed in?

Joe Laughlin
-----Original Message-----
From: Maya [mailto:EscalanteCanada netscape net] 
Sent: Wednesday, April 21, 2004 12:08 PM
To: e97_far e kth se
Cc: gtkmm-list gnome org
Subject: Re: [gtkmm] Piping compiler error to a file - How?

Hi!
Thanks for the help!
I tried that, but all I got was this: "  g++ main.o wimm.o `pkg-config gtkmm-2.0 --libs` -o wimm.exe
 "
The errors are sent to the screen and not the file!
I am starting to wonder if it is possible at all :-( 

Thanks!!
e97_far e kth se wrote:

"Laughlin, Joseph V" <Joseph V Laughlin boeing com> writes:

  
If you are using a makefile, do "make > compile_errors.txt"

If you are doing it by hand, do "g++ -o stuff stuff.cc >
compile_errors.txt" or whatever your compile line is.
    

Except that compiler errors are sent to stderr, so you should do
make 2> compile_errors.txt

  


-- 
* YOU first you said that there were weapons of mass destruction
* Then YOU said that the only way to expose them was through  a war
* YOU sent over 150 children to die
* Kill those who did not agree with you
* And now WE know it was all a lie.
* Daddy must be very proud of you, boy!
* Between you and I, is Osama your father's idea too?

* The media's the most powerful entity on earth. They have the 
  power to make the innocent guilty and to make the guilty 
  innocent, and that's power. 
                                - Malcom X

* You cannot exercise your power to a point of humiliation.
                               - Jean Chretien



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