newlib and -mthumb-interwork
Thu Feb 1 17:48:00 GMT 2001
I have the same problem as discussed already on this list:
I read this thread but didn't find an answer to my question. But basicaly my
problem is realy the same.
I wanna mix arm-32-bit code with arma-16-bit code.
I built newest gcc version 3.0.2 using together with newlib 1.9
I configured newlib using --target=arm-elf. After make there were two libs
but if i try to link using on of these libs linker tells me:
/usr/local/bin/arm-elf-ld: Warning: memcpy.o does not support interworking,
whereas wearpos.elf does not.
In the posting mentioned above Jeff J. worte to call gcc
but what the hell dows this mean.
Here is me linker command:
D:\cygwin\usr\local\bin\arm-elf-ld -g -v -T ldscript -O3 -N crt0.o main.o16
D:\cygwin\usr\local\arm-elf\lib\thumb\libc.a -o wearpos.elf
GNU ld version 2.11.2 (with BFD 2.11.2)
Thanks for any hint
More information about the Newlib