[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gas fails to cross-compile mips coff target
From: |
Frédéric Pétrot |
Subject: |
gas fails to cross-compile mips coff target |
Date: |
Wed, 19 Sep 2001 12:37:26 +0200 |
User-agent: |
Mutt/1.2.5i |
Hello,
In binutils-2.11
configures with
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
./configure --host=i686-pc-linux-gnu --prefix=/users/fusion2/pwet/Linux
--target=mipsel-cass-ecoff --program-prefix=mce- --with-gnu-ld --with-gnu-as
--norecursion
file ./gas/config/tc-mips.c fails to compile because
OPTION_CALL_SHARED (among others) is declared within a
#ifdef OBJ_ELF
#endif
line 8897
And used without checking the OBJ_ELF macro line 9063
I would simply kill the #ifdef OBJ_ELF/#endif lines.
Later on, gas links fails because it can't find functions themselves
protected by macros:
ECOFF_DEBUGGING is not defined in ecoff.c => only
In fact it seems that config/obj-ecoff.h is not included, but I
couldn't make it through the arcanes of the configuration to
understand why.
(Note that it works perfectly well when using a mipsel-cass-elf
target).
Fred
--
@----------------------,-,-----,-------------------------------------@
|Ad augusta Frederic PETROT: MC d'ASIM/LIP6/UPMC (Paris VI) |
|Per angusta 55-65/201 4 place Jussieu, 75252 Paris Cedex 05 |
|Work:331 44275415 Fax:331 44277280 address@hidden |
|Home:331 47129513 //www-asim.lip6.fr/~fred/ |
@--------------------------------------------------------------------@
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gas fails to cross-compile mips coff target,
Frédéric Pétrot <=