Most C/C++ compilers support dependency generation, often through the -M series of flags. For some reason the two version of EKOPath I've installed (5.0.1 and 5.0.5) contain a bug such that:
The solution is to instruct the compiler to pre-process only and pass the -M option through to the preprocessor, i.e.:
> pathCC -M test.cpp psclang: error: unknown argument: '-Eonly'
The solution is to instruct the compiler to pre-process only and pass the -M option through to the preprocessor, i.e.:
> pathCC -E -Wp,-M test.cpp test.o: test.cpp test.h
No comments:
Post a Comment
Note: only a member of this blog may post a comment.