Hi Tomas,
If you use a (cross-)compiler for ARM target processor, the generated
binary will be indeed an ARM binary, of course (ready to run on an
ARM under the selected target OS - WinCE in your case). If targetting
WinCE OS, you can only use WinCE RTL and/or other units prepared for
that ta
On 4 Sep 08, at 21:03, Paul wrote:
> If I understand correcly, it's the lcl that adds a huge part to the exe.
> Since I only use 1 small form, I could create it with api calls.
> But FPC for WinCE uses a crosscompiler, how do I have to implement this ?
> Are Windows api calls translated to ARM-cal
Take a look at http://wiki.freepascal.org/KOL-CE, this project was specially
started to create a "framework" for creating very small .exe applications using
Delphi and FPC.
Leonardo M. Ramé
http://leonardorame.blogspot.com
--- On Thu, 9/4/08, Paul <[EMAIL PROTECTED]> wrote:
> From: Paul <[EMA
If I understand correcly, it's the lcl that adds a huge part to the exe.
Since I only use 1 small form, I could create it with api calls.
But FPC for WinCE uses a crosscompiler, how do I have to implement this ?
Are Windows api calls translated to ARM-calls ?
Paul
___
- Original Message -
From: "Graeme Geldenhuys" <[EMAIL PROTECTED]>
Alternatively, write your WinCE program in pure assembly language.
You should get fully function GUI apps at around 20-60 Kbytes. :-)
LOL, I don't think so: my Delphi program has only very basic GUI (fi chat)
which i
On 9/4/08, Marco van de Voort <[EMAIL PROTECTED]> wrote:
> In our previous episode, Paul said:
> > Actually 1,16 MMb with 1 button and 1 label :-)
>
> http://wiki.freepascal.org/Size_Matters
>
> Pretty normal for a lazarus app. If you want minimal size, see the winapi
> demo in the examples.
- Original Message -
From: "Vincent Snijders" <[EMAIL PROTECTED]>
OK, you have a small size and a debuger crash. The debugger crash is ok,
because you "do not need a working debugger".
Indeed, only needed for testing but annoying though
Paul
_
http://wiki.freepascal.org/Size_Matters
Pretty normal for a lazarus app. If you want minimal size, see the winapi
demo in the examples.
I have this doc printed and it wont be a problen on Windows for which I have
the Delphi program.
I have not installed the WinCe version or crosscompiler, but
Paul schreef:
You cannot have both: a small size without debug info *and* a working
debugger.
I do not need a working debugger.
B: an executable that has a small size and can be released: disable
all debugging options (-g, -gl, -gh) and enable string (-Xs) in the
linking tab.
I've done tha
You cannot have both: a small size without debug info *and* a working
debugger.
I do not need a working debugger.
B: an executable that has a small size and can be released: disable all
debugging options (-g, -gl, -gh) and enable string (-Xs) in the linking
tab.
I've done that and also (-Og
In our previous episode, Paul said:
> Actually 1,16 MMb with 1 button and 1 label :-)
http://wiki.freepascal.org/Size_Matters
Pretty normal for a lazarus app. If you want minimal size, see the winapi
demo in the examples.
___
fpc-pascal maillist - f
On Sep 4, 2008, at 5:03 PM, Marco van de Voort wrote:
In our previous episode, Dimitrios Chr. Ioannidis said:
is it possible someone to add support for OS X in ibase60.inc ?
Firebird for OS X is working fine for quite some time now.
This can be done. Are you sure that gds and fbembed real
Paul wrote:
> I'm testing with FPC/Lazrus on Windows now, but a simple program results in
> 11.5 MB size.
> I have enabled -Xs, -CX, -Og, -O2 in the project->compiler options
> (Lazarus), but the size is still the same.
> Anything else I should do?
Yes, you should also disable -gl option (Display
Actually 1,16 MMb with 1 button and 1 label and a debugger crash as a bonus
:-)
Paul
- Original Message -
From: "Florian Klaempfl" <[EMAIL PROTECTED]>
To: "FPC-Pascal users discussions"
Sent: Thursday, September 04, 2008 4:39 PM
Subject: Re: [fpc-pascal] Exe size
Paul schrieb:
Paul schreef:
I have to use:
C:\FPC\2.2.2\bin\i386-win32\strip.exe --strip-all
D:\FreePascal\Projects\Test\Project1.exe,
anything else fails.
In my Dutch version here, after compling is on the top position in that
compiler tab which is in fact before compling
Probably a translation bug.
Af
Paul schrieb:
> I have to use:
>
> C:\FPC\2.2.2\bin\i386-win32\strip.exe --strip-all
> D:\FreePascal\Projects\Test\Project1.exe,
> anything else fails.
>
> In my Dutch version here, after compling is on the top position in that
> compiler tab which is in fact before compling
> Probably a translat
I have to use:
C:\FPC\2.2.2\bin\i386-win32\strip.exe --strip-all
D:\FreePascal\Projects\Test\Project1.exe,
anything else fails.
In my Dutch version here, after compling is on the top position in that
compiler tab which is in fact before compling
Probably a translation bug.
After compling, I
In our previous episode, Dimitrios Chr. Ioannidis said:
> is it possible someone to add support for OS X in ibase60.inc ?
>
> Firebird for OS X is working fine for quite some time now.
This can be done. Are you sure that gds and fbembed really are
libfbclient.dylib, and not the ones from the
Paul schrieb:
I've read that, but isn't it suppose to work within the ide instead of
always start the cmd prompt and type in this ?
(or use a batch)
Project -> Compilersettings -> [Last Tab] -> Execute after
(I hope this is right, i've only the german version here).
Will this work for WinCE
I've read that, but isn't it suppose to work within the ide instead of
always start the cmd prompt and type in this ?
(or use a batch)
Will this work for WinCE also, cause this what I actually want to do?
Paul
- Original Message -
From: "Michael Fuchs" <[EMAIL PROTECTED]>
To: "FPC-Pa
Michael Fuchs schrieb:
>> I'm testing with FPC/Lazrus on Windows now, but a simple program
results in 11.5 MB size.
>> I have enabled -Xs, -CX, -Og, -O2 in the project->compiler options
(Lazarus), but the size is still the same.
>> Anything else I should do?
>
> Use
> strip --strip-all $PR
Michael Fuchs schrieb:
I'm testing with FPC/Lazrus on Windows now, but a simple program
results in 11.5 MB size.
I have enabled -Xs, -CX, -Og, -O2 in the project->compiler options
(Lazarus), but the size is still the same.
Anything else I should do?
Use
strip --strip-all $PROGRAMNAME.exe
Paul schrieb:
I'm testing with FPC/Lazrus on Windows now, but a simple program results
in 11.5 MB size.
I have enabled -Xs, -CX, -Og, -O2 in the project->compiler options
(Lazarus), but the size is still the same.
Anything else I should do?
Use
strip --strip-all $PROGRAMNAME.exe
after
On Thu, 4 Sep 2008, "Vinzent Höfler" wrote:
> Hi,
>
> > I think that thread variables are automatically initialized to zero. So
> > you just need to use them in such a way that zero is the desired start
> > value.
>
> Hmm, yes. I just checked the sourcecode and indeed, for Win32 and Unix at
>
I'm testing with FPC/Lazrus on Windows now, but a simple program results in
11.5 MB size.
I have enabled -Xs, -CX, -Og, -O2 in the project->compiler options
(Lazarus), but the size is still the same.
Anything else I should do?
Paul
___
fpc-pascal
Hi,
> I think that thread variables are automatically initialized to zero. So
> you just need to use them in such a way that zero is the desired start
> value.
Hmm, yes. I just checked the sourcecode and indeed, for Win32 and Unix at least
the threadvars are indeed initialized to zero. That woul
Hi,
is it possible someone to add support for OS X in ibase60.inc ?
Firebird for OS X is working fine for quite some time now.
Something like ( didn't test it )
{$IFDEF Unix}
{$DEFINE extdecl:=cdecl}
{$IFDEF Darwin}
const
gdslib = 'libfbclient.dylib';
fbclib = 'libfbclien
Hi,
I think that thread variables are automatically initialized to zero. So
you just need to use them in such a way that zero is the desired start
value.
Cheers,
Tobias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepasca
On Thu, 4 Sep 2008, ik wrote:
> On Thu, Sep 4, 2008 at 12:38 PM, Michael Van Canneyt
> <[EMAIL PROTECTED]> wrote:
> >
> >
> > On Thu, 4 Sep 2008, ik wrote:
> >
> >> Hi,
> >>
> >> Out of pure curiosity, are there any blog systems written using Pascal
> >> (FPC) ?
> >
> > The Morfik Blog demo is
Hi,
suppose I need some threadvars inside dynamically allocated objects to keep
track of the number of calls to certain methods. Basic requirement is to keep
track of recursive calls per thread, so I tried implementing that with thread
vars. Only problem: How do I initialize them? I can't do it
On Thu, Sep 4, 2008 at 12:38 PM, Michael Van Canneyt
<[EMAIL PROTECTED]> wrote:
>
>
> On Thu, 4 Sep 2008, ik wrote:
>
>> Hi,
>>
>> Out of pure curiosity, are there any blog systems written using Pascal (FPC)
>> ?
>
> The Morfik Blog demo is in FPC :-)
Will they release their sources for that blog
On Thu, 4 Sep 2008, ik wrote:
> Hi,
>
> Out of pure curiosity, are there any blog systems written using Pascal (FPC) ?
The Morfik Blog demo is in FPC :-)
Michael.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.or
On 9/4/08, ik <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Out of pure curiosity, are there any blog systems written using Pascal (FPC)
> ?
I don't have a blog system, but I have a wiki system. :-)
Regards,
- Graeme -
___
fpGUI - a cross-platform Free P
Hi,
Out of pure curiosity, are there any blog systems written using Pascal (FPC) ?
Thanks,
Ido
--
http://ik.homelinux.org/
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
34 matches
Mail list logo