Actually, I want to reduce the size of the fpc for linux/mips, I have tested
the size of the ppcmips without the OPT,
OPT='-CX -Xs -XX' and OPT='-O4 -Oonostackframe -XX' options but nothings
changed dramatically. All the OPT sizes are the same.
Is there something to forget?
Thanks.
--
View this
Thats the fpc log when compiling under Linux/mips (OpenWRT) system. Has
someone any idea?
root@Omega-28F6:~/onion-omega/fpc-test# fpc -Tlinux -Pmips hello.pas -va
[0.008] Macro defined: LINUX
[0.009] Macro defined: UNIX
[0.010] Macro defined: HASUNIX
[0.012] Macro defined: FPC_REQUIRES_PROPER_ALI
On 06/15/2016 06:04 PM, czd wrote:
Hi all,
What is the extreme memory optimization parameter to compile fpc for the
embedded system? And could someone tell me what is the minimum memory
specification for freepascal to run?
Thanks.
Depends on your platform really but usually the short answer is: a
El 15/06/2016 a las 18:20, wkitt...@windstream.net escribió:
>
>>> how is a set of sets defined?
>> No
>
> hunh?
I meant, you can't. A set is not an ordinal type, but an structured
type, so a set of sets is impossible.
>
> yup...
>
> if (this.messages.area.num in UsersMsgTaggedAreas) then
>
On 15.06.2016 18:20, wkitt...@windstream.net wrote:
> On 06/15/2016 10:36 AM, Santiago A. wrote:
>> El 15/06/2016 a las 15:55, wkitt...@windstream.net escribió:
>>>
>>> what is the best/easiest way to increase the size of a set if the set
>>> is defined as the following?
>>>
>>>
>>>const
>>>
On 06/15/2016 10:36 AM, Marco van de Voort wrote:
In our previous episode, wkitt...@windstream.net said:
what is the best/easiest way to increase the size of a set if the set is
defined as the following?
Uses classes.tbits
nice! we used to do bit flags back in the TP/BP days but i forget how
On 06/15/2016 10:36 AM, Santiago A. wrote:
El 15/06/2016 a las 15:55, wkitt...@windstream.net escribió:
what is the best/easiest way to increase the size of a set if the set
is defined as the following?
const
CMaxCount = 255;
type
TMsgAreas = set of 0..CMaxCount;
var
Hi all,
What is the extreme memory optimization parameter to compile fpc for the
embedded system? And could someone tell me what is the minimum memory
specification for freepascal to run?
Thanks.
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/What-is-the-best
El 15/06/2016 a las 15:55, wkitt...@windstream.net escribió:
>
> what is the best/easiest way to increase the size of a set if the set
> is defined as the following?
>
>
> const
> CMaxCount = 255;
>
> type
> TMsgAreas = set of 0..CMaxCount;
>
> var
> MsgAreas : TMsgAreas;
>
>
In our previous episode, wkitt...@windstream.net said:
> what is the best/easiest way to increase the size of a set if the set is
> defined
> as the following?
Uses classes.tbits
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists
what is the best/easiest way to increase the size of a set if the set is defined
as the following?
const
CMaxCount = 255;
type
TMsgAreas = set of 0..CMaxCount;
var
MsgAreas : TMsgAreas;
is a set of sets possible?
how is a set of sets defined?
how are the elements in
Mattias Gaertner wrote:
> I spotted several hidden gems via the list of FPC* macros.
Note that a bunch of these are probably temporary ones, search for
"Temporary" in compiler/options.pas for a list of those in your current
FPC version. Those are removed from time to time as they are no longer
req
Hi all,
Soon the cross compilation works fine then I tried to compile without cross.
:)
I compiled fpc for the linux/mips platform. But when I try to compile the
test application error occurs like that.
root@Omega-28F6:~/onion-omega/fpc-test# ppcmips hello.pas
Free Pascal Compiler version 3.1.1 [
On 2016-06-14 15:34, Jonas Maebe wrote:
Torsten Bonde Christiansen wrote:
Is there a reason why fpc needs the llvm for cross compiling (I'm
building agains OSX 10.5) - it was not need for fpc 2.6.4...
http://wiki.freepascal.org/User_Changes_3.0#Default_assembler_for_Darwin.2Fi386.2Fx86_64.2FARM
On Wed, 15 Jun 2016 11:43:59 +0200
Mattias Gaertner wrote:
>[...]
> Thanks for the hint. Done.
Oops. Wrong thread.
To my rescue a hint:
You can see the actual FPC defines in Lazarus by placing the cursor
in the directive and pressing Ctrl+Space:
{$IFDEF FPC|}
I spotted several hidden gems via
On Wed, 15 Jun 2016 11:18:38 +0200
Sven Barth wrote:
> Am 15.06.2016 10:15 schrieb "Juha Manninen" :
> >
> > Are there defines matching the modes in FPC, for example {$mode
> delphiunicode} ?
> > I want to do something like :
> > {$IFDEF delphiunicode}
> > ...
> > {$ELSE}
> > ...
> >
Am 15.06.2016 10:15 schrieb "Juha Manninen" :
>
> Are there defines matching the modes in FPC, for example {$mode
delphiunicode} ?
> I want to do something like :
> {$IFDEF delphiunicode}
> ...
> {$ELSE}
> ...
> {$ENDIF}
There are. They are FPC_, though DelphiUnicode seems to be
miss
More accurately, I want to check {$ModeSwitch UnicodeStrings}.
Anyway, if there is no define, I can use:
{$IF SizeOf(Char) = 2}
Works well although the highlighter in Lazarus editor shows it wrong.
Juha
___
fpc-pascal maillist - fpc-pascal@lists.fr
Are there defines matching the modes in FPC, for example {$mode delphiunicode} ?
I want to do something like :
{$IFDEF delphiunicode}
...
{$ELSE}
...
{$ENDIF}
Juha
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.fre
19 matches
Mail list logo