-
Notifications
You must be signed in to change notification settings - Fork 484
Closed
Description
Hello,
I'm trying to crosscompile for android arm.
Here is my make command:
make ARCH=arm CFLAGS=-DLTC_DEBUG CROSS_COMPILE=arm-none-eabi- -f makefile.shared
The compilation went successfully but when trying to link:
/usr/bin/ld: src/ciphers/aes/.libs/aes.o: relocations in generic ELF (EM: 40)
/usr/bin/ld: src/ciphers/aes/.libs/aes.o: relocations in generic ELF (EM: 40)
/usr/bin/ld: src/ciphers/aes/.libs/aes.o: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
make: *** [makefile.shared:52: libtomcrypt.la] Error 1
It seems that it use the host ld rather than the arm-none-eabi-ld
Metadata
Metadata
Assignees
Labels
No labels