Re: [fpc-devel] smrtlinking on arm-wince

2006-05-17 Thread Oro06




How can I check this?


binutils is our friend :)



I think the problem is not as much the imported functions from the 
windows unit, although that is interesting too, but more the used 
functions / procedures and methods from the classes unit. Do you know 
how I can check, that things are left out if I use smartlinking, (or 
added if I explicitly use static linking)?



110% agreed , but imported functions are quickly checkable

arm-wince-pe-objdump -p MyTestProg.exe

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] smrtlinking on arm-wince

2006-05-16 Thread Vincent Snijders

Oro06 wrote:

using -CX, rtl built fine .a are created
then progs compiled with $SMARTLINK ON
compile and run


Do you see any difference when you using smartlinking or not?

I tried the following test program:

program Project1;

{$mode objfpc}{$H+}

uses
  Windows, Classes
  { add your units here };

begin
end.

Compiled with -Xs to strip debug info.

With -XX: 572 kB
With -XS: 572 kB

So, I doubt smartlinking is successful.

Vincent



___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel