Branch: Tag:

1998-03-20

1998-03-20 22:58:50 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

can now build DLLs with -shared

Rev: NT/tools/rntcc:1.12

71:    ({"warn",Getopt.MAY_HAVE_ARG, ({"-W"}) }),    ({"define",Getopt.HAS_ARG, ({"-D"}) }),    ({"undefine",Getopt.HAS_ARG, ({"-U"})}), -  ({"output",Getopt.HAS_ARG, ({"-o"}) }) +  ({"output",Getopt.HAS_ARG, ({"-o"}) }), +  ({"export",Getopt.HAS_ARG, ({"--export"}) })    }));    foreach(opts, mixed *option)    {    switch(option[0])    { -  +  case "export": +  ldopts+=({"export",option[1]+"_"}); +  break; +     case "share":    share=1; -  ldopts+=({"SYS","nt_dll"}); +  ldopts=({"SYSTEM","nt_dll","initinstance","terminstance"})+ldopts;    cflags+=({"-bd"});    break;   
201:    "FIL "+Array.map(objects,fixpath)*","+" "+    libraries*" "+" ");    + #if 0 +  Process.system("cat "+ldfile); +  write("\n"); + #endif +     do_cmd( ({"wlink","@"+ldfile }), lambda(string data)    {    if(search(data," W1008:")!=-1)