Parcourir la source

palmos: turned off large object generation for palmos, fixed linking by skipping the unnecessary obj-res stage

git-svn-id: trunk@37894 -
Károly Balogh il y a 7 ans
Parent
commit
ae1b005b1a
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 2 1
      compiler/systems/i_palmos.pas
  2. 1 2
      compiler/systems/t_palmos.pas

+ 2 - 1
compiler/systems/i_palmos.pas

@@ -34,7 +34,8 @@ unit i_palmos;
             system       : system_m68k_PalmOS;
             name         : 'PalmOS';
             shortname    : 'PalmOS';
-            flags        : [tf_under_development,tf_code_small,tf_static_reg_based,tf_smartlink_library,tf_requires_proper_alignment];
+            flags        : [tf_under_development,tf_code_small,tf_static_reg_based,tf_requires_proper_alignment,
+                            tf_smartlink_library,tf_no_objectfiles_when_smartlinking];
             cpu          : cpu_m68k;
             unit_env     : 'PALMUNITS';
             extradefines : '';

+ 1 - 2
compiler/systems/t_palmos.pas

@@ -71,8 +71,7 @@ begin
      { This is based on my successful experiment with prc-tools remix.
        Anyone who has more insight into this Palm magic, feel free to fix. (KB) }
      ExeCmd[1]:='ld $OPT $STRIP --no-check-sections -N -dy -o $EXE $RES';
-     ExeCmd[2]:='obj-res $EXE';
-     ExeCmd[3]:='build-prc $EXE.prc "$APPNAME" $APPID $EXE *.$EXE.grc';
+     ExeCmd[2]:='build-prc $EXE.prc "$APPNAME" $APPID $EXE';
    end;
 end;