--- Log opened Thu Feb 02 00:00:01 2023 14:10 < gahr> I fail to understand the difference between -main and -program in csm options 14:17 < Bunny351> -program means you are building an executable, not a shared library. -main designates the main module, i.e. the loader. 14:19 < gahr> but program takes a module name, can it ever be different from the one you give to main? 16:03 < Bunny351> probably not... 16:04 < Bunny351> wait, -program takes a name, not a module... 16:07 < gahr> it complains if the name isn't a module 16:07 < gahr> % csm -static -program call-it-foobar -main main 16:07 < gahr> main module for program call-it-foobar does not exist 16:07 < gahr> "-program main" works 16:08 < gahr> oh, pprogram takes the name of a file, and inside that file there should be a module called after -main ? 16:09 < gahr> mh no# 16:11 < Bunny351> have to look at this, but can't right now 16:11 < gahr> no worries 16:11 < gahr> I see that "-program main -main main" and "-program main" alone do the same thing 16:12 < gahr> also, "-main main" doesn't seem to do anything 16:29 < gahr> confirmed, with and without "-main main" produces the same makefile, when I have "-program main" 16:35 < Bunny351> -main defaults to the argument given to -program