Adds an option to eclcc to compile a definition
Adds an option to eclcc to compile a definition

Instead of specifying a filename to eclcc the -main option allows an
ECL style reference of a definition within the known sources/repository
to be used instead.

e.g., eclcc -I mysources -main a.b.c
may be equivalent to
eclcc -I mysources mysources/a/b/c.ecl

If the source file is an archive -main can be used to select a
definition within that archive as the definition to compile.

Signed-off-by: Gavin Halliday <2edfa8aca9fb78974188e5b35be8b52d4e4967ae@lexisnexis.com>

afishbeck/HPCC-Platform,afishbeck/HPCC-Platform,afishbeck/HPCC-Platform,afishbeck/HPCC-Platform,afishbeck/HPCC-Platform,afishbeck/HPCC-Platform