<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Should be fixed in trunk now.<br>
      <br>
      Regards,<br>
      Jeppe<br>
      <br>
      Den 03-09-2013 08:44, Michael Ring skrev:<br>
    </div>
    <blockquote cite="mid:52258550.4070309@michael-ring.org" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      Trunk for armv7m buils just fine with this commandline:<br>
      <br>
      make clean buildbase CROSSINSTALL=1 OS_TARGET=embedded
      CPU_TARGET=arm SUBARCH=armv7m CROSSOPT="-O-"
      BINUTILSPREFIX=arm-none-eabi-<br>
      <br>
      doing the same for armv6m:<br>
      <br>
      make clean buildbase CROSSINSTALL=1 OS_TARGET=embedded
      CPU_TARGET=arm SUBARCH=armv6m CROSSOPT="-O-"
      BINUTILSPREFIX=arm-none-eabi-<br>
      <br>
      gives the following errormessage:<br>
      <br>
      make -C embedded all<br>
      /bin/mkdir -p /Users/ring/devel/fpc-orig/rtl/units/arm-embedded<br>
      /Users/ring/devel/fpc-orig/compiler/ppcrossarm -Cparmv6m @rtl.cfg
      -Ur -Tembedded -Parm -XParm-none-eabi- -Xr -Ur -Xs -O2 -n
      -Fi../inc -Fi../arm -FE.
      -FU/Users/ring/devel/fpc-orig/rtl/units/arm-embedded -darm
      -dRELEASE -O- -Us -Sg system.pp<br>
      text.inc(2082,14) Warning: Implicit string type conversion from
      "AnsiString" to "UnicodeString"<br>
      text.inc(2301,53) Warning: Implicit string type conversion with
      potential data loss from "UnicodeString" to "AnsiString"<br>
      /Users/ring/devel/fpc-orig/rtl/units/arm-embedded/system.s:
      Assembler messages:<br>
      /Users/ring/devel/fpc-orig/rtl/units/arm-embedded/system.s:13:
      Error: selected processor does not support Thumb mode `stmfd
      r13!,{r11,r12,r14,r15}'<br>
      /Users/ring/devel/fpc-orig/rtl/units/arm-embedded/system.s:14:
      Error: lo register required -- `sub r11,r12,#4'<br>
      /Users/ring/devel/fpc-orig/rtl/units/arm-embedded/system.s:16:
      Error: lo register required -- `strb r0,[r11,#-48]'<br>
      <br>
      The problem started with rev 25370, all version before that build
      fine on armv6m<br>
      <br>
      Comments for 25370 were:<br>
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <div>
        <pre class="vc_log">+ arm: tsettings.instructionset
* the selected instruction set is now independent from the cpu type: e.g. armv7-a can perfectly execute thumb(2) code</pre>
      </div>
      <div> </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
fpc-devel maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/mailman/listinfo/fpc-devel">http://lists.freepascal.org/mailman/listinfo/fpc-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>