[fpc-pascal] Language mode, assembler style

2012-08-25 Thread Rainer Stratmann
Why is -Mfpc the default language style? I assume -Mobjfpc or -M2 is the most used style. Why does -Mobjfpc overwrite the assember style? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Language mode, assembler style

2012-08-25 Thread Jonas Maebe
On 25 Aug 2012, at 12:00, Rainer Stratmann wrote: Why is -Mfpc the default language style? For backward compatibility. Why does -Mobjfpc overwrite the assember style? Language modes set all language-related switches to the default for that mode, so that it is possible to e.g. add {$mode

Re: [fpc-pascal] Language mode, assembler style

2012-08-25 Thread Sven Barth
On 25.08.2012 12:00, Rainer Stratmann wrote: Why is -Mfpc the default language style? I assume -Mobjfpc or -M2 is the most used style. fpc was the first mode that FPC supported, so that's kept because of backwards compatibility. Why does -Mobjfpc overwrite the assember style? Because

Re: [fpc-pascal] Language mode, assembler style

2012-08-25 Thread Marco van de Voort
In our previous episode, Sven Barth said: Because only for modes TP and Delphi the default style is Intel instead of ATT which was chosen as the default for FPC (not the mode, but the compiler) on x86 systems. And before you ask: I don't know why ATT was chosen as default, maybe by

[fpc-pascal] Error when trying to build a crosscompiler for arm

2012-08-25 Thread Rainer Stratmann
I downloaded the daily source an wanted to build a crosscompiler for arm with: make clean buildbase installbase CROSSINSTALL=1 CROSSOPT=-XParm-elf- OS_TARGET=embedded CPU_TARGET=arm SUBARCH=armv7m There are 2 errors now: systemh.inc(1071,10) Error: Forward declaration not solved procedure

[fpc-pascal] Error when trying to build a crosscompiler for arm (2)

2012-08-25 Thread Rainer Stratmann
OS: Linux ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Error when trying to build a crosscompiler for arm

2012-08-25 Thread Marco van de Voort
In our previous episode, Rainer Stratmann said: I downloaded the daily source an wanted to build a crosscompiler for arm with: make clean buildbase installbase CROSSINSTALL=1 CROSSOPT=-XParm-elf- OS_TARGET=embedded CPU_TARGET=arm SUBARCH=armv7m Starting with what compiler?

[fpc-pascal] Any FPC/Lazarus success stories on Nokia N9?

2012-08-25 Thread Reinier Olislagers
Hi FPC Lazarus lists (crossposted), Just wondering if anybody has compiled FPC, Lazarus, or fpgui applications on Nokia's N9 smartphone. Presumably the N900 instructions on http://wiki.lazarus.freepascal.org/Smartphone_Development could apply with some tweaks The reason... well, I think you

Re: [fpc-pascal] Error when trying to build a crosscompiler for arm

2012-08-25 Thread Rainer Stratmann
Am Saturday 25 August 2012 14:14:18 schrieb Marco van de Voort: In our previous episode, Rainer Stratmann said: I downloaded the daily source an wanted to build a crosscompiler for arm with: make clean buildbase installbase CROSSINSTALL=1 CROSSOPT=-XParm-elf- OS_TARGET=embedded

[fpc-pascal] Re: [Lazarus] Any FPC/Lazarus success stories on Nokia N9?

2012-08-25 Thread zeljko
On Saturday 25 of August 2012 14:30:12 Reinier Olislagers wrote: Hi FPC Lazarus lists (crossposted), Just wondering if anybody has compiled FPC, Lazarus, or fpgui applications on Nokia's N9 smartphone. I've successfully built bindings and qtlcl apps for n9 (I guess that Joost also was

Re: [fpc-pascal] Re: [Lazarus] Any FPC/Lazarus success stories on Nokia N9?

2012-08-25 Thread Paul Breneman
zeljko wrote: On Saturday 25 of August 2012 14:30:12 Reinier Olislagers wrote: Hi FPC Lazarus lists (crossposted), Just wondering if anybody has compiled FPC, Lazarus, or fpgui applications on Nokia's N9 smartphone. I've successfully built bindings and qtlcl apps for n9 (I guess that Joost

Re: [fpc-pascal] Error when trying to build a crosscompiler for arm

2012-08-25 Thread Rainer Stratmann
Am Saturday 25 August 2012 15:22:59 schrieb Rainer Stratmann: Am Saturday 25 August 2012 14:14:18 schrieb Marco van de Voort: In our previous episode, Rainer Stratmann said: I downloaded the daily source an wanted to build a crosscompiler for arm with: make clean buildbase

Re: [fpc-pascal] Language mode, assembler style

2012-08-25 Thread Sven Barth
On 25.08.2012 12:22, Marco van de Voort wrote: In our previous episode, Sven Barth said: Because only for modes TP and Delphi the default style is Intel instead of ATT which was chosen as the default for FPC (not the mode, but the compiler) on x86 systems. And before you ask: I don't know why

Re: [fpc-pascal] TObjectQueue with ability to dequeue arbitrary positions

2012-08-25 Thread waldo kitty
On 8/24/2012 14:57, Jorge Aldo G. de F. Junior wrote: [trim] When the object issues request it has to keep looping (until timeout) and dequeueing the last message from the mailbox, inspecting its transaction id for a match and requeueing the same message back into the mailbox if theres no match.

Re: [fpc-pascal] variant.inc(82, 10) Error: Illegal type conversion: Text to TextRec

2012-08-25 Thread waldo kitty
On 8/24/2012 18:07, Sven Barth wrote: Am 24.08.2012 21:21 schrieb Jonas Maebe jonas.ma...@elis.ugent.be It is something with your old build, namely the fact that it is not the latest release (2.6.0 at this time). Building svn versions is only supported if your starting compiler is the latest