minix/external/bsd/file/dist/magic/magdir/gcc

18 lines
505 B
Text
Raw Normal View History

2012-03-31 20:24:03 +02:00
#------------------------------------------------------------------------------
2012-05-02 13:23:57 +02:00
# $File: gcc,v 1.4 2009/09/19 16:28:09 christos Exp $
2012-03-31 20:24:03 +02:00
# gcc: file(1) magic for GCC special files
#
0 string gpch GCC precompiled header
# The version field is annoying. It's 3 characters, not zero-terminated.
>5 byte x (version %c
>6 byte x \b%c
>7 byte x \b%c)
# 67 = 'C', 111 = 'o', 43 = '+', 79 = 'O'
>4 byte 67 for C
>4 byte 111 for Objective C
>4 byte 43 for C++
>4 byte 79 for Objective C++