Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2006-04

arm-wince rtl

7 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vincent Snijders

Hi,

If I compile the arm-wince rtl from svn trunk I get the following error message:
C:/lazarus/source/fpc/2.1/compiler/ppcrossarm.exe -Ur -Twince -Parm -XParm-wince- -Xc -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../arm -Fi../win -FDc:\fpc\crossbin -FE. -FUC:/lazarus/source/fpc/2.1/rtl/units/arm-wince -g -gh -gl -darm -dRELEASE -Iwininc windows.pp
windows.pp(76) Error: Creation of Dynamic/Shared Libraries not supported C:\lazarus\source\fpc\2.1\rtl\units\arm-wince\windows.sl C:\lazarus\source\fpc\2.1\rtl\units\arm-wince\windows.sl windows.pp(76) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
make.exe[2]: *** [windows.ppu] Error 1
make.exe[2]: Leaving directory `C:/lazarus/source/fpc/2.1/rtl/wince'

How can I circumvent this error?

Vincent

Reply by email

Oro06
to Vincent Snijders

same for me,
you should deactivate smartlinking

Vincent Snijders wrote 24 lines
Hi, If I compile the arm-wince rtl from svn trunk I get the following error message: C:/lazarus/source/fpc/2.1/compiler/ppcrossarm.exe -Ur -Twince -Parm -XParm-wince- -Xc -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../arm -Fi../win -FDc:\fpc\crossbin -FE. -FUC:/lazarus/source/fpc/2.1/rtl/units/arm-wince -g -gh -gl -darm -dRELEASE -Iwininc windows.pp windows.pp(76) Error: Creation of Dynamic/Shared Libraries not supported C:\lazarus\source\fpc\2.1\rtl\units\arm-wince\windows.sl C:\lazarus\source\fpc\2.1\rtl\units\arm-wince\windows.sl windows.pp(76) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted make.exe[2]: *** [windows.ppu] Error 1 make.exe[2]: Leaving directory `C:/lazarus/source/fpc/2.1/rtl/wince' How can I circumvent this error? Vincent _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Vincent Snijders
to Oro06
Oro06 wrote
same for me, you should deactivate smartlinking

Is the windows unit sufficiently cleaned up, that it can used without smartlinking?

At least on windows 2k it isn't, because it contains windows xp declarations.

Vincent.

Reply by email

Peter Vreman
to Vincent Snijders
Show quoted text 10 lines
Oro06 wrote: > same for me, > you should deactivate smartlinking > Is the windows unit sufficiently cleaned up, that it can used without smartlinking? At least on windows 2k it isn't, because it contains windows xp declarations.

Fixed. There was some old code left for smartlinking. This is not required anymore for dll imports. They are now always smartlinked in libimp*.a

Reply by email

Oro06
to Vincent Snijders: Is the windows unit sufficiently cleaned up, that it can used without smartlinking? At…
Vincent Snijders wrote 9 lines
Oro06 wrote: > same for me, > you should deactivate smartlinking > Is the windows unit sufficiently cleaned up, that it can used without smartlinking?

i've tested on 2003SE, HP/rz3715 , hx4700 and the arm-wince emulator from ms it's ok for them but you're right it could be a pb on other plateforms (older wince and smartphones...)

Show quoted text 5 lines
At least on windows 2k it isn't, because it contains windows xp declarations. Vincent.

Reply by email

Felipe Monteiro de Carvalho
to Oro06
Oro06 wrote 6 lines
> Is the windows unit sufficiently cleaned up, that it can used without > smartlinking? > i've tested on 2003SE, HP/rz3715 , hx4700 and the arm-wince emulator from ms it's ok for them but you're right it could be a pb on other plateforms (older wince and smartphones...)

Did you successfully compile arm-wince compiler with latest subversion?

How?

thanks,

Felipe Monteiro de Carvalho

Reply by email

Oro06
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 18 lines
On 4/27/06, Oro06 wrote: >>Is the windows unit sufficiently cleaned up, that it can used without >>smartlinking? >> >> >> >i've tested on 2003SE, HP/rz3715 , hx4700 and the arm-wince emulator from ms >it's ok for them but you're right it could be a pb on other plateforms >(older wince and smartphones...) > > Did you successfully compile arm-wince compiler with latest subversion?

my answer concern actual imported functions in windows unit and compiling without smartlinking

concering the current svn trunk, i actually get linker error...

Show quoted text 8 lines
How? thanks, -- Felipe Monteiro de Carvalho

regards
or

Reply by email