Re: [fpc-pascal] PACKENUM and MINENUMSIZE

2008-09-11 Thread Michael Van Canneyt
On Wed, 10 Sep 2008, Lukas Gradl wrote: Hi! Could anyone help me determining the defaults for MINENUMSIZE / PACKENUM? As far as I could find in the docs it depends on $MODE: for $MODE OBJPAS it's 4 but I could'nt find the default for $MODE DELPHI. Where did you read that this depends

Re: [fpc-pascal] PACKENUM and MINENUMSIZE

2008-09-11 Thread Marco van de Voort
In our previous episode, Michael Van Canneyt said: As far as I could find in the docs it depends on $MODE: for $MODE OBJPAS it's 4 but I could'nt find the default for $MODE DELPHI. Where did you read that this depends on $MODE ? It just says that the default (contrary to Delphi) is 4.

Re: [fpc-pascal] PACKENUM and MINENUMSIZE

2008-09-11 Thread Michael Van Canneyt
On Thu, 11 Sep 2008, Marco van de Voort wrote: In our previous episode, Michael Van Canneyt said: As far as I could find in the docs it depends on $MODE: for $MODE OBJPAS it's 4 but I could'nt find the default for $MODE DELPHI. Where did you read that this depends on $MODE ?

Re: [fpc-pascal] Install FPC/Lazarus for Win CE

2008-09-11 Thread Marco van de Voort
On Wed, Sep 10, 2008 at 07:50:36PM +0200, Paul wrote: That's wrong: the i386 compiler knows also i386-wince. Only the rtl and packages need to be compiled. Are they available somewhere (compiled) or do I need to do that ? Isn't WinCE x86 just a subset of Win32 ? Not per definition. The

Re: [fpc-pascal] PACKENUM and MINENUMSIZE

2008-09-11 Thread Lukas Gradl
As far as i can understand the fpc sources it's in compiler/scanner.pas, line 359ff: { Default enum packing for delphi/tp7 } if (m_tp7 in current_settings.modeswitches) or (m_delphi in current_settings.modeswitches) then

Re: [fpc-pascal] PACKENUM and MINENUMSIZE

2008-09-11 Thread Lukas Gradl
Forgot to add: No difference between i386 and x64. regards Lukas Lukas Gradl schrieb: As far as i can understand the fpc sources it's in compiler/scanner.pas, line 359ff: { Default enum packing for delphi/tp7 } if (m_tp7 in current_settings.modeswitches) or

Re: [fpc-pascal] PACKENUM and MINENUMSIZE

2008-09-11 Thread Michael Van Canneyt
On Thu, 11 Sep 2008, Lukas Gradl wrote: Forgot to add: No difference between i386 and x64. Thanks, I updated the programmer's guide so the default sizes are now documented. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] FPC for FreeBSD AMD64?

2008-09-11 Thread Francisco Reyes
Are there any plans for a FreeBSD AMD64 version? Sometime ago I tried to work on this and since I am not very familiar with FPC yet I could not get very far. If there are currently no set plans for this port, anyone would be willing to do some heavy hand-holding for a new users to work on

Re: [fpc-pascal] FPC for FreeBSD AMD64?

2008-09-11 Thread Marco van de Voort
In our previous episode, Michael Green said: I can see x86_64-freebsd in the FPC make file, so you ought to be able to build it with the source. Just add the parameters OS_TARGET=freebsd and CPU_TARGET=x86_64 It is not done. Those files are the leftovers of a failed attempt. But maybe it is