Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 20th, 2013  |  syntax: None  |  size: 0.49 KB  |  views: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. [/tmp/root] : ls -R
  2. .:
  3. header  src
  4.  
  5. ./header:
  6. class
  7.  
  8. ./header/class:
  9. a.h  other.h
  10.  
  11. ./src:
  12. foo.c
  13. [/tmp/root] : cat ./header/class/a.h
  14. #include "class/other.h"
  15. [/tmp/root] : cat ./header/class/other.h
  16. foo!
  17. [/tmp/root] : gcc -E -I /tmp/root/header src/foo.c
  18. # 1 "src/foo.c"
  19. # 1 "<built-in>"
  20. # 1 "<command-line>"
  21. # 1 "src/foo.c"
  22. # 1 "/tmp/root/header/class/a.h" 1
  23. # 1 "/tmp/root/header/class/other.h" 1
  24. foo!
  25. # 1 "/tmp/root/header/class/a.h" 2
  26. # 1 "src/foo.c" 2
  27. [/tmp/root] :
clone this paste RAW Paste Data