[ create a new paste ] login | about

Link: http://codepad.org/iRUwi89I    [ raw code | fork ]

C, pasted on Dec 6:
                break;
#if defined TCC_TARGET_X86_64
            case TCC_OPTION_m:
                {
                    int opt = 0; char arg[4096]="i386-tcc";
                    if (32 == atoi(optarg)) {       /* -m32 */
                        if (system(NULL)) {
#ifdef TCC_TARGET_PE
                            strcpy(arg,"tcc.exe");
#else
                            strcpy(arg,"i386-win32-tcc");
#endif
                            while (argv[opt]) {     /* arg  = args */
                                strcat(arg," "); strcat(arg,argv[opt++]);
                            }
                            exit(system(arg));      /* launch other tcc */
                            } else error("-m32 no job control");
                    } else error("unrecognized option \"-m%s\"");
                }
                break;
#endif
            case TCC_OPTION_o:


Create a new paste based on this one


Comments: