[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] tcc-0.9.21 with gcc-2.95 patch
From: |
dan |
Subject: |
[Tinycc-devel] tcc-0.9.21 with gcc-2.95 patch |
Date: |
Thu, 28 Oct 2004 16:36:30 +0200 |
User-agent: |
Mutt/1.5.6+20040907i |
Hi there,
This is a small patch to make TCC compile with gcc-2.95. Have fun.
--
Courage, fuyons...
--- tcccoff.c.orig 2004-10-28 16:32:46.000000000 +0200
+++ tcccoff.c 2004-10-28 16:32:52.000000000 +0200
@@ -82,6 +82,7 @@
int CoffTextSectionNo, coff_nb_syms;
FILHDR file_hdr; /* FILE HEADER STRUCTURE */
Section *stext, *sdata, *sbss;
+ int i, NSectionsToOutput = 0;
stext = FindSection(s1, ".text");
sdata = FindSection(s1, ".data");
@@ -108,8 +109,6 @@
// create all the section headers
- int i, NSectionsToOutput = 0;
-
file_pointer = FILHSZ + sizeof(AOUTHDR);
CoffTextSectionNo = -1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Tinycc-devel] tcc-0.9.21 with gcc-2.95 patch,
dan <=