Building binutils failed giving an error: "tc-i386.h:443: error: array type has
incomplete element type"
I was trying to compile a mingw32 cross-compiler under Fedora Core 3 (x86_64)
I used gcc-4.0.0-2 for this

Download this install script:
http://www.mingw.org/MinGWiki/index.php/BuildMingwCross

Next, update the links in this script to the most recent package versions.

Then start the script.

After downloading packages the script starts binutils' configure with
--target=i386-pc-mingw32 and then make gives the error.

It can be fixed if you make changes in /binutils/gas/config/tc-i386.h and
/binutils/gas/config/tc-i386.c
Changing the declaration of md_relax_table[] to *md_relax_table may fix the
problem. (I did this and the error disappeared)

-- 
           Summary: Building binutils fail because of the md_relax_table
                    declaration is obsolete
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: ibron2 at freemail dot hu
                CC: bug-binutils at gnu dot org
 GCC build triplet: x86_64_pc_linux
  GCC host triplet: x86_64_pc_linux
GCC target triplet: i386_pc_mingw32


http://sources.redhat.com/bugzilla/show_bug.cgi?id=927

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to