Diff

Differences From Artifact [bdb10e54ff]:

To Artifact [373fc5958a]:


   206    206                   Tcl_AppendResult(interp, "code already relocated, cannot output to file", NULL);
   207    207                   return TCL_ERROR;
   208    208               }
   209    209               if (s->output_type == TCC_OUTPUT_MEMORY) {     
   210    210                   Tcl_AppendResult(interp, "output_type memory not valid for output to file", NULL);
   211    211                   return TCL_ERROR;
   212    212               }
   213         -#ifdef WIN32
   214         -            res = tcc_output_pe(s,Tcl_GetString(objv[2]));
   215         -#else
   216    213               res = tcc_output_file(s,Tcl_GetString(objv[2]));
   217         -#endif
   218    214   
   219    215               if (res!=0) {
   220    216                   Tcl_AppendResult(interp, "output to file failed", NULL);
   221    217                   return TCL_ERROR;
   222    218               } else {
   223    219                   return TCL_OK;
   224    220               }