gcc 505 B

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