Re: redirect g77 output into a file under windows xp



kern.matthias@xxxxxx wrote:
I like to redirect the g77 compiler output into a file under windows
xp. I tried it by adding ">output.txt" behind the g77 command in my
Makefile. By running the makefile the ouput.txt file gets created but
is empty. Does anyone know how to handle this?
cheers Matthias

g77 *.f > output.txt 2 >& 1
should do it in bash or Windows 2000/XP shell.
.



Relevant Pages

  • redirect g77 output into a file under windows xp
    ... I like to redirect the g77 compiler output into a file under windows ... I tried it by adding ">output.txt" behind the g77 command in my ... By running the makefile the ouput.txt file gets created but ...
    (comp.lang.fortran)
  • Re: redirect g77 under DOS 6.22- need output file
    ... I tried it by adding ">output.txt" behind the g77 command in my ... By running the makefile the ouput.txt file gets created but ... You might try ">&" for redirection of both standard out and standard error and see if that helps any... ...
    (comp.lang.fortran)
  • Re: suggested addition to date
    ... teh format of the datestamp is governed ... An easy to imagine use for this is to add it in the makefile for /usr so ... it makes it easy to timestamp output from a console logger for example: ... You can do that in shell too but it's running date once for every line which probably includes an instance of shell too ...
    (freebsd-current)
  • Re: How do I add search paths to gcc
    ... for libraries and hearders and I added the paths ... LD_LIBRARY_PATH environment variable to set alternate ... what did the person who wrote your project's Makefile use? ... the dependency lines in a makefile are given to the shell (normally ...
    (freebsd-questions)
  • Re: makes making me crazy
    ... >> I've been using the same Makefile on Windows and Unix (linux and ... >> solaris) using gnumake and cygwin without a problem for a number of ... > Windows, ... > backslashes. ...
    (comp.unix.programmer)