[jhc] flag to compile a single module?

John Meacham john at repetae.net
Wed Sep 9 17:22:46 EDT 2009


On Wed, Sep 09, 2009 at 07:32:26AM -0400, David Roundy wrote:
> I was just thinking that it would be great jhc would compile just a
> single module (and its dependencies, of course) when that module was
> requested (instead of complaining about a lack of a main function).
> This would be handy for testing, but also could enable parallel
> builds, assuming that jhc won't trash the ho cache if two builds are
> run simultaneously (which is important anyhow... e.g. if building two
> versions of the same code at the same time).

Hmmm.. I thought this worked with the '-c' option. If not, it is a bug.
It would allow parallel compilations with 'make' if you told it about
the module dependencies. (which you can extract with --annotate-source
right now, but I am adding a better way)

        John

-- 
John Meacham - ⑆repetae.net⑆john⑈ - http://notanumber.net/


More information about the jhc mailing list