<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Helvetica, Arial, sans-serif">I solved the problem this
way:<br>
- copy memds.pp into the project folder<br>
- complie the project: memds.o and ppu in the project's -FU folder<br>
- copy new .o and .ppu into </font>"fpc\2.6.1\units\i386-win32\fcl-db\"<br>
tests are OK.<br>
i'll do the same for arm/wince<br>
<br>
Antonio.<br>
<br>
<div class="moz-cite-prefix">Le 03/05/2013 15:03, Antonio Fortuny a
écrit :<br>
</div>
<blockquote cite="mid:km0ci8$ip3$1@ger.gmane.org" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<br>
<div class="moz-cite-prefix">Le 03/05/2013 14:29, Michael Van
Canneyt a écrit :<br>
</div>
<blockquote
cite="mid:alpine.DEB.2.02.1305031426540.19472@home.telenet.be"
type="cite"> <br>
<br>
On Fri, 3 May 2013, Antonio Fortuny wrote: <br>
<br>
<blockquote type="cite">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 <br>
ARM-wince. <br>
Any ideas on how to do ? <br>
</blockquote>
<br>
make CPU_TARGET=arm OS_TARGET=wince <br>
<br>
should do it. <br>
</blockquote>
Got it. <br>
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\<br>
Then I copied those two new files into
fpc\2.6.1\units\i386-win32\fcl-db\<br>
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<br>
I've searched into the HD but except those two places there no
other files anywhere.<br>
<blockquote
cite="mid:alpine.DEB.2.02.1305031426540.19472@home.telenet.be"
type="cite"> <br>
if the wince target is missing, run fpcmake -Tall <br>
in <br>
fcl-db/src/memds <br>
<br>
<br>
Michael. <br>
<blockquote type="cite"> <br>
Antonio. <br>
<br>
Le 02/05/2013 16:56, Michael Van Canneyt a écrit : <br>
<br>
<br>
On Thu, 2 May 2013, Antonio Fortuny wrote: <br>
<br>
Hi Folks. <br>
<br>
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. <br>
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 <br>
FCL ? <br>
I've tried this: <br>
D:\Programmes\lazarus\fpc\2.6.1\source\packages\fcl-db>..\..\..\bin\i386-win32\make
all OS_TARGET=wince CPU_TARGET=arm <br>
makefile:197: *** The Makefile doesn't support
target arm-wince, please run fpcmake first. Stop. <br>
<br>
this one runs OK <br>
D:\Programmes\lazarus\fpc\2.6.1\source\packages\fcl-db>..\..\..\bin\i386-win32\make
all <br>
<br>
The compiler for WinCE has been installed and runs
OK: targets run on a PocketPC arm-wince without problems <br>
Any ideas ? <br>
<br>
<br>
It is likely that the arm-wince target was diabled,
since ARM requires aligned memory access. <br>
To my knowledge, the memds package has not been
tested/adapted for that. <br>
<br>
Michael. <br>
<br>
<br>
-- <br>
_______________________________________________ <br>
Lazarus mailing list <br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
<br>
<br>
<br>
<br>
<br>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_______________________________________________
Lazarus mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
<br>
</body>
</html>