Overview
Comment: | Updated to allow "tcc" to build |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
035f309e4f00de9bf8428b95f9e51f72 |
User & Date: | rkeene on 2014-06-21 05:06:10 |
Other Links: | manifest | tags |
Context
2014-06-21
| ||
05:06 | Updated to do a "distclean" in TCC upon clean check-in: ed19d6d085 user: rkeene tags: trunk | |
05:06 | Updated to allow "tcc" to build check-in: 035f309e4f user: rkeene tags: trunk | |
04:44 | Updated to work on older autoconf implementations and support the new versionscript.m4 interface check-in: 5ade025cc5 user: rkeene tags: trunk | |
Changes
Modified build/tcc-patches/0.9.26/tcc-0.9.26-tclio.diff from [3b7b96df23] to [714434e0ff].
91 91 - size = read(fd, &ehdr, sizeof(ehdr)); 92 92 - lseek(fd, 0, SEEK_SET); 93 93 + size = Tcl_Read(fd, (char *)&ehdr, sizeof(ehdr)); 94 94 + Tcl_Seek(fd, 0, SEEK_SET); 95 95 if (size <= 0) { 96 96 tcc_error_noabort("could not read header"); 97 97 goto the_end; 98 +diff -uNr tcc-0.9.26.orig/tcc.c tcc-0.9.26-1tclio/tcc.c 99 +--- tcc-0.9.26.orig/tcc.c 2013-02-15 08:24:00.000000000 -0600 100 ++++ tcc-0.9.26-1tclio/tcc.c 2014-06-21 00:04:24.170011999 -0500 101 +@@ -248,7 +248,7 @@ 102 + int64_t start_time = 0; 103 + const char *first_file = NULL; 104 + 105 +- s = tcc_new(); 106 ++ s = tcc_new(NULL); 107 + s->output_type = TCC_OUTPUT_EXE; 108 + 109 + optind = tcc_parse_args(s, argc - 1, argv + 1); 98 110 diff -uNr tcc-0.9.26.orig/tcc.h tcc-0.9.26-1tclio/tcc.h 99 111 --- tcc-0.9.26.orig/tcc.h 2013-02-15 08:24:00.000000000 -0600 100 112 +++ tcc-0.9.26-1tclio/tcc.h 2014-05-02 01:30:08.967140003 -0500 101 113 @@ -429,7 +429,7 @@ 102 114 typedef struct BufferedFile { 103 115 uint8_t *buf_ptr; 104 116 uint8_t *buf_end;