http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55991
--- Comment #3 from damage3025 at gmail dot com 2013-01-15 14:26:29 UTC --- As I tried with GNU Fortran 4.7.2 and I was trying to output CRLF explicitly. $ gfortran --version GNU Fortran (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2 Copyright (C) 2012 Free Software Foundation, Inc. c this works write (u, '(A, $)') char(13)//char(10) c these don't work write (u, '(A, $)') '\r\n' write (u, '(A, $)') "\r\n" And I honestly find no mention of whether this feature is implemented or not in documentation of GNU Fortran. http://gcc.gnu.org/onlinedocs/gfortran/ As I said, Sun's f77 documentation say it is an extension, but I have no idea whether this is already part of newer Fortran standard. (If so you don't have to mention it in your documentation)