[Lazarus] FPC packagae

Antonio Fortuny a.fortuny at sitasoftware.lu
Fri May 3 15:13:19 CEST 2013


I solved the problem this way:
- copy memds.pp into the project folder
- complie the project: memds.o and ppu in the project's -FU folder
- copy new .o and .ppu into "fpc\2.6.1\units\i386-win32\fcl-db\"
tests are OK.
i'll do the same for arm/wince

Antonio.

Le 03/05/2013 15:03, Antonio Fortuny a écrit :
>
> Le 03/05/2013 14:29, Michael Van Canneyt a écrit :
>>
>>
>> On Fri, 3 May 2013, Antonio Fortuny wrote:
>>
>>> I've a change in memds.pp and now it works as expected when using 
>>> SaveToStream and LoadFromStream even when the source dataset is 
>>> empty. I'd like now to compile the source of fcl-db for
>>> ARM-wince.
>>> Any ideas on how to do ?
>>
>> make CPU_TARGET=arm OS_TARGET=wince
>>
>> should do it.
> Got it.
> I did the same with the changed memds.pp (this time with 
> CPU_TARGET=i386 OS_TARGET=win32)and got new memds.ppu and memds.o in 
> fcl-db\units\i386-win32\
> Then I copied those two new files into fpc\2.6.1\units\i386-win32\fcl-db\
> But when I recompile the project and run it I get the last error back 
> as if the old unit was still there with the old error
> I've searched into the HD but except those two places there no other 
> files anywhere.
>>
>> if the wince target is missing, run fpcmake -Tall
>> in
>> fcl-db/src/memds
>>
>>
>> Michael.
>>>
>>> Antonio.
>>>
>>> Le 02/05/2013 16:56, Michael Van Canneyt a écrit :
>>>
>>>
>>>       On Thu, 2 May 2013, Antonio Fortuny wrote:
>>>
>>>             Hi Folks.
>>>
>>>             For one of my projects I use the memdslaz package wich, 
>>> in turn uses memds.pp which is part of the FPC package fcl-db.
>>>             The target program has to run on arm-wince. To get a 
>>> lazarus package compiled for win32 and/or wince it's easy, 
>>> compilation target depends on projetc target. But for
>>>             FCL ?
>>>             I've tried this:
>>> D:\Programmes\lazarus\fpc\2.6.1\source\packages\fcl-db>..\..\..\bin\i386-win32\make 
>>> all OS_TARGET=wince CPU_TARGET=arm
>>>             makefile:197: *** The Makefile doesn't support target 
>>> arm-wince, please run fpcmake first.  Stop.
>>>
>>>             this one runs OK
>>> D:\Programmes\lazarus\fpc\2.6.1\source\packages\fcl-db>..\..\..\bin\i386-win32\make 
>>> all
>>>
>>>             The compiler for WinCE has been installed and runs OK: 
>>> targets run on a PocketPC arm-wince without problems
>>>             Any ideas ?
>>>
>>>
>>>       It is likely that the arm-wince target was diabled, since ARM 
>>> requires aligned memory access.
>>>       To my knowledge, the memds package has not been tested/adapted 
>>> for that.
>>>
>>>       Michael.
>>>
>>>
>>> -- 
>>> _______________________________________________
>>> Lazarus mailing list
>>> Lazarus at lists.lazarus.freepascal.org
>>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>>>
>>>
>>>
>>>
>>
>>
>> --
>> _______________________________________________
>> Lazarus mailing list
>> Lazarus at lists.lazarus.freepascal.org
>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130503/f00d35e0/attachment-0003.html>


More information about the Lazarus mailing list