At present Felix can do: require package "fred";
which looks up the fred.fpc file at link time to find the library. But we still have to do: require header '#include "fred.h"'; Really this should be handled by the *.resh file. However, I prefer that flxg not need to lookup the *.fpc files because it is a host tool, and the *.fpc files are technically only present on the target. A simple solution is for flxg to generate: #include "fred_res.h" and then run flx_pkgconfig in a script which generates that file. A consequence is that the flxg output cannot be compiled until that is done. However this is actually correct: the same flxg output may bind to platform specific headers containing resources. The only tricky thing is the choice between #includes in the fred.hpp header file, and those going in the fred.cpp body file. C headers only defining functions only need to go in the body. C header defining *types* may or may not need to go in the header, but usually will. -- John Skaller <skaller at users dot sf dot net> Felix, successor to C++: http://felix.sf.net ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language