Building ARM Cortex A8 hard float toolchain
Dwi Sasongko Supriyadi
ruckuus@gmail.com
Tue Nov 23 06:34:00 GMT 2010
Hello All,
I am new to this list.
I am trying to build toolchain to support hard float based on sample:
arm-cortex_a8-linux-gnueabi/crosstool.config
Here is my recipe:
binutils-2.20
cloog-ppl-0.15.9
gdb-6.8
glibc-2.9
glibc-ports-2.9
gmp-4.3.2
linux-2.6.32.25
mpfr-2.4.2
ncurses-5.7
ppl-0.10.2
gcc-4.5.1
mpc-0.8.1
CT_ARCH_ARCH="armv7-a"
CT_ARCH_CPU="cortex-a8"
CT_ARCH_TUNE="cortex-a8"
CT_ARCH_FPU="vfpv3-d16"
CT_ARCH_FLOAT_HW=y
The toolchain was built successfully. But I found error as follow:
ruckuus@markonah:~/tulcein/testbed$
~/srikutil-glibc-hardfloat/arm-cortex_a8-linux-gnueabi/bin/arm-cortex_a8-linux-gnueabi-gcc
-c test.c -mfloat-abi=hard
ruckuus@markonah:~/tulcein/testbed$
~/srikutil-glibc-hardfloat/arm-cortex_a8-linux-gnueabi/bin/arm-cortex_a8-linux-gnueabi-gcc
test.o -o test -mfloat-abi=hard --verbose
/home/ruckuus/srikutil-glibc-hardfloat/arm-cortex_a8-linux-gnueabi/lib/gcc/arm-cortex_a8-linux-gnueabi/4.5.1/../../../../arm-cortex_a8-linux-gnueabi/bin/ld:
error: test.o uses VFP register arguments, test does not
/home/ruckuus/srikutil-glibc-hardfloat/arm-cortex_a8-linux-gnueabi/lib/gcc/arm-cortex_a8-linux-gnueabi/4.5.1/../../../../arm-cortex_a8-linux-gnueabi/bin/ld:
failed to merge target specific data of file test.o
collect2: ld returned 1 exit status
Is there anything wrong in the build process?
Should I set :
CT_TARGET_CFLAGS=""
CT_TARGET_LDFLAGS=""
CT_LIBC_GLIBC_EXTRA_CFLAGS=""
??
I really appreciate any response.
Best regards,
DWI
PS: Enclosed is my config file.
--
"A mathematician is a device for turning coffee into theorems." - Paul Erdos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config-ct-ng-gcc-4.5.1-hardfloat
Type: application/octet-stream
Size: 9942 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20101123/96aa0fa2/attachment.obj>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list