Sorry, this is not a bug report, but I didn't know where to search for help on gperf.
Is it possible to use gperf as a library? Does such facility exist? I want to generate a perfect hash function in a code of mine where all the entries of the table will be known at some certain point, prior their uses. At that point I would like to generate the perfect hash function, but it seems gperf only works from the command line. I suppose I could writte some wrappers and scripts to print the entries from my code, manage them and then call gperf to generate the relevant hashing code, and afterwards compile the generated code and link itto my existing code and proceed with the execution, but this sounds cumbersome at best. If a way to use it as a library existed then it would make the job much easier.
Anyhow, gperf is a really nice and easy to use tool. I'm glad to have found it!