About #sccs

Nathan Sidwell nathan@codesourcery.com
Mon Dec 6 12:24:00 GMT 2004


Luca Benini wrote:
> Hi all,
> 
> I found in (cpp.info.gz) this
> 
> [cpp info]
> The `#sccs' directive is recognized, because it appears in the
> header files of some systems.  It is a very old, obscure, extension
> which we did not invent, and we have been unable to find any
> documentation of what it should do, so GCC simply ignores it.
> 
> [Sun  FORTRAN 77 4.0 User Guide)
> Some developers put one or more SCCS ID keywords into each file, but 
> that is optional. These keywords are later identified with a version 
> number each time the files are checked in with an SCCS get or delget 
> command. There are three likely places to put these strings:[...]
> 
> 
> I believe i've resolved the Obscure, the Arcane mister of #sccs ... ;-)

we know #sccs is something to do with SCCS, but what is not known is what it
should do to the resulting object file.  The sun manual appears to
indicate that you can put $Id$ in a fortran file.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



More information about the Gcc mailing list