arm-unknown-linux-gnueabi ABI selection
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Fri Aug 29 16:08:00 GMT 2008
On Thursday 28 August 2008 16:25:54 Michael Abbott wrote:
> [ERROR] ABI='aapcs-linux' not supported for EABI.
> [ERROR] If you know you are right, please edit 'arch/arm/functions' in
> crosstool-NG sources.
OK, we could add a new case entry to recognise aapcs-linux, and act as if
it were in fact aapcs:
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"
;;
aapcs-linux,y)
CT_DoLog DEBUG "'-mabi=aapcs-linux' is in fact '--with-abi=aapcs' when used in ./configure flags"
CT_ARCH_WITH_ABI="--with-abi=aapcs"
;;
,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
Thoughts?
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ |
| --==< ^_^ >==-- `------------.-------: X AGAINST | /e\ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | """ conspiracy. |
`------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list