site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com
What algorithm does xcode use to find files specified by #import <foo.h> and #import "bar.h" ? If someone can tell me where in the documentation to find the answers to these questions, rather than answering them directly, so much the
If you make an empty file, say foo.c and run: gcc -v -save-temps -c foo.c you'll see a message that tells you something like: #include "..." search starts here: #include <...> search starts here: /usr/include/gcc/darwin/3.3/c++ /usr/include/gcc/darwin/3.3/c++/ppc-darwin /usr/include/gcc/darwin/3.3/c++/backward /usr/local/include /usr/include/gcc/darwin/3.3 /usr/include End of search list. I don't know how to generate this without passing a dummy source file. If you pass more -I(path) arguments on the command line, those will show up in the search list for "...". David Fang _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com