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



try

make 2>make.log 1>&2

-Vlad

On Wed, 2004-04-21 at 15:08, Maya wrote:
> 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
> 
> >From WE to YOU, with love:
> * E-Mail Policy
>      http://www.vif.com/users/escalante/Email_Policy.html
-- 
_____________________________________________________________
Vladislav Grinchenko       http://home.comcast.net/~3rdshift/
                                 e-mail: 3rdshift comcast net
                                                   
      Focus on quality, and productivity will follow.
_____________________________________________________________




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