Advertisement
Guest User

Untitled

a guest
Jan 20th, 2013
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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] :
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement