This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: arm-unknown-linux-gnueabi ABI selection


On Thu, 28 Aug 2008, Michael Abbott wrote:

> On Thu, 28 Aug 2008, Michael Abbott wrote:
> > implementation.  Seems we need aapcs-linux instead.  THis is noted in 
> > So this patch should do the trick:
> 
> Oops.  Hadn't actually tried building yet...
> 
> [ERROR]  ABI='aapcs-linux' not supported for EABI.
> [ERROR]  If you know you are right, please edit 'arch/arm/functions' in 
> crosstool-NG sources.
> 
> I'll do the necessary, and report back tomorrow on how well it works!


Argh!  This is not good (and I'm completely confused).  Here's what 
arch/arm/functions has to say:


    case "${CT_ARCH_ABI},${CT_ARCH_ARM_EABI}" in
        *,) ;;
        aapcs,y)
            CT_DoLog DEBUG "'--with-abi=aapcs' is in fact 
'-mabi=aapcs-linux' when used in CFLAGS."
            CT_ARCH_ABI_CFLAGS="-mabi=aapcs-linux"
            ;;
        ,y)
            CT_DoLog WARN "Forcing ABI to 'aapcs-linux' for use with 
EABI."
            CT_ARCH_WITH_ABI="--with-abi=aapcs"
            CT_ARCH_ABI_CFLAGS="-mabi=aapcs-linux"
            ;;
        *,y)
            CT_DoLog ERROR "ABI='${CT_ARCH_ABI}' not supported for EABI."
            CT_Abort "If you know you are right, please edit 
'arch/arm/functions' in crosstool-NG sources."
            ;;
    esac


Unfortunately I know that I'm getting variable sized enums, so I really 
don't know what's going on here. 

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]