[ELDK] cc1: error: unrecognized command line option "-mapcs-32"
Wolfgang Denk
wd at denx.de
Mon Sep 14 09:41:40 CEST 2009
Dear "J.Hwan.Kim",
In message <4AADB7A6.5030809 at gmail.com> you wrote:
>
> I installed ARM ELDK4.2 yesterday.
ELDK 4.2 is an EABI compliant tool chain.
> When I compiled JTAGProbe package,
> the following error message is displayed.
>
>
> arm-linux-gcc -O2 -fomit-frame-pointer
> -I/home/frog/Electronics/Embedded_Linux/CD/JTAGProbe/Tools/JTAGProbe/flash/include
> -Wall -mapcs-32 -mcpu=arm9tdmi -DELF -DVERSION=\"1.0\"
> -DCONFIG_ARCH_S3C2410 -DCONFIG_NAND_FLASH -c -o ctype.o ctype.c
> cc1: error: unrecognized command line option "-mapcs-32"
"-mapcs-32" is only available with very old tool chain versions,r
say GCC-3.3.x or similar (as used for example with ELDK 3.1.1).
More recent tool chains will either require "-mabi=apcs-gnu"
(non-EABI-compliant) or "-mabi=aapcs-linux" (EABI-compliant).
> Does the crosss compiler of ARM ELDK4.2 not support "-mapcs-32" option?
> How can I solve this problem?
Try building with "-mabi=aapcs-linux" instead.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
We have found all life forms in the galaxy are capable of superior
development.
-- Kirk, "The Gamesters of Triskelion", stardate 3211.7
More information about the eldk
mailing list