arm-unknown-linux-gnueabi ABI selection
Michael Abbott
michael@araneidae.co.uk
Thu Aug 28 14:31:00 GMT 2008
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
More information about the crossgcc
mailing list