The command uses for building is straight from the wiki:
make clean buildbase installbase CROSSINSTALL=1 OS_TARGET=embedded
CPU_TARGET=arm SUBARCH=armv7m
without my small hack the build breaks, when I add:
export PATH=/Users/ring:$PATH
and put the small replacement script to /Users/ring the build finishes.
I am using GNU assembler version 2.23.1 (arm-none-eabi) using BFD
version (GNU Binutils) 2.23.1
built from latest binutils sources, commands also taken from Target
Embedded Wiki
Michael
Am 20.01.13 01:53, schrieb Jeppe Græsdal Johansen:
Could you write the complete command line you use for compiling?
Den 19-01-2013 22:58, Michael Ring skrev:
Thank you very much Florian, this problem is now indeed fixed. I have
encountered another one:
/Users/ring/devel/fpc/rtl/units/arm-embedded/sysutils.s: Assembler
messages:
/Users/ring/devel/fpc/rtl/units/arm-embedded/sysutils.s:20800: Error:
thumb conditional instruction should be in IT block -- `bxeq r14'
/Users/ring/devel/fpc/rtl/units/arm-embedded/sysutils.s:20803: Error:
thumb conditional instruction should be in IT block -- `subls r1,r1,#32'
/Users/ring/devel/fpc/rtl/units/arm-embedded/sysutils.s:20804: Error:
thumb conditional instruction should be in IT block -- `strbls r1,[r12]'
/Users/ring/devel/fpc/rtl/units/arm-embedded/sysutils.s:20820: Error:
thumb conditional instruction should be in IT block -- `bxeq r14'
/Users/ring/devel/fpc/rtl/units/arm-embedded/sysutils.s:20823: Error:
thumb conditional instruction should be in IT block -- `addls r1,r1,#32'
/Users/ring/devel/fpc/rtl/units/arm-embedded/sysutils.s:20824: Error:
thumb conditional instruction should be in IT block -- `strbls r1,[r12]'
this one can be solved by adding -mimplicit-it=thumb to the the
commandline of arm-embedded-as. I have created a replacement script
for arm-embedded-as:
#!/bin/sh
/usr/local/bin/arm-embedded-as -mimplicit-it=thumb $*
with this script I can build latest svn.
What I do not understand is that this problem only exists when
sysutils gets compiled, the svn code from 2012-01-04 works fine, the
code from the next day shows this error, the 'only' change is that
sysutils gets included in the build.
For now, how can I add "-mimplicit-it=thumb" to the as commandline
without my small hack? can I put this somewhere in fpc.cfg?
Michael
Am 19.01.13 16:19, schrieb Florian Klämpfl:
Am 19.01.2013 12:18, schrieb Michael Ring:
Today I found some time to research since when excactly arm-embedded
does not compile anymore, I found that since revision 23325 compile
does
not work anymore, can anybody help, it seems that the problem
itself is
hidden somewhere else in code...
Fixed in r23452.
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel