pike.git / NT / tools / rntcl

version» Context lines:

pike.git/NT/tools/rntcl:33:      string remove_ext(string file)   {    sscanf(file=reverse(file),"%*s.%s",file,file);    return reverse(file);   }         int main(int argc, string *argv)   { + // werror("%O\n",argv);    string *ldopts=({"-INCREMENTAL:no"});    string *cflags=({    "-Zm300",    "-F8388608",    "-Ge",    "-D__WIN32__",    "-D_WIN32",    "-D__NT__",   // "-D__STDC__",    "-nologo",
pike.git/NT/tools/rntcl:157:    if(option[1])    {    // This allows us to pass options to the linker    if(sscanf(option[1],"l,%s",string tmp))    {    // This was done for my convenience, it can be taken    // out once smartlink has been fixed to not use absoute    // paths for the 'uname' binary.    if(sscanf(tmp,"-rpath%*s")) break;    -  cflags+=({tmp}); +  ldopts+=({tmp});    break;    }    }       // More options should be recognized, options which are not    // recognized should generate warning/error messages.    switch(option[1])    {    case "all": cflags+=({"-W3"}); break;    default: cflags+=({"-W2"}); break;
pike.git/NT/tools/rntcl:251:    ldopts+=({"-nodefaultlib:"+libs[e]});          cmd+=({"-link",   // "-PDB:NONE",    "-DEBUGTYPE:BOTH",    "-DEBUG",    })    +ldopts;    } +  +  break; +  +  default: +  if(sizeof(ldopts)) +  cmd+=({"-link" }) +ldopts; +  break;    }          int ret;    if(verbose && target!="-")    { -  + // werror("Doing: %s\n",cmd*" ");    ret=do_cmd(cmd);    }else{    int first_line=1;    // cl.exe echoes the file name of the file we are compiling    // first, we need to get rid of that to make configure behave    ret=silent_do_cmd(cmd, lambda(string line)    {    if(first_line)    {    array x=line/"\n";