[perl #42510] Move main() Out of compilers/imcc/main.c  # New Ticket Created by  chromatic 
# Please include the string:  [perl #42510]
# in the subject line of all future correspondence about this issue. 
# 


The attached patch moves only the main() function out of compilers/imcc/main.c 
into src/main.c.  There's a lot more work to do to clean up this mess, 
including RT #37248.

For example, the options processing and help() and version() functions need to 
move into src/main.c too, but because of the intertwining with IMCC details, 
it's difficult to do so.

I'd like to get test results from this patch on a few other platforms before I 
apply it in a couple of days; it was  a bit of work to get pbc_merge to 
compile.

-- c

