"Fossies" - the Fresh Open Source Software Archive

Member "file-5.35/magic/Magdir/gcc" (17 Mar 2017, 505 Bytes) of package /linux/misc/file-5.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 #------------------------------------------------------------------------------
    3 # $File: gcc,v 1.5 2016/07/01 23:31:13 christos Exp $
    4 # gcc:  file(1) magic for GCC special files
    5 #
    6 0	string		gpch		GCC precompiled header
    7 
    8 # The version field is annoying.  It's 3 characters, not zero-terminated.
    9 >5	byte		x			(version %c
   10 >6	byte		x			\b%c
   11 >7	byte		x			\b%c)
   12 
   13 # 67 = 'C', 111 = 'o', 43 = '+', 79 = 'O'
   14 >4	byte		67			for C
   15 >4	byte		111			for Objective-C
   16 >4	byte		43			for C++
   17 >4	byte		79			for Objective-C++