Re: [fpc-pascal] pascal compiler for ardurino

2013-02-27 Thread Koenraad Lelong
On 26-02-13 20:07, ik wrote: Hello, Is there a Pascal compiler for Ardurino (instead of the existed build in language or C) ? Thanks, Ido Hi, Does it have to be Arduino ? Or just the formfactor ? I'm using an Olimexino. That has an STM32 cortex-m3 processor in the same formfactor. And I'm

Re: [fpc-pascal] Object pascal language compatiblity - was: Does FPC 2.8.0 can actually still be called Pascal ?

2013-02-27 Thread Simon Kissel
This is a terrible idea. The business advantage of Object Pascal has always been the component market, as it reduces development Component vendors simply aren't interested in FPC, and those that are, are bought about by EMBT and made Delphi only. Component vendors are interested in selling com

Re: [fpc-pascal] Object pascal language compatiblity - was: Does FPC 2.8.0 can actually still be called Pascal ?

2013-02-27 Thread Craig Peterson
On 2/27/2013 6:41 PM, Graeme Geldenhuys wrote: > Component vendors simply aren't interested in FPC, and those that are, > are bought about by EMBT and made Delphi only. Eldos added support for Free Pascal to SecureBlackBox within the last couple of years. Indy supports it in their main repository

Re: [fpc-pascal] Does FPC 2.8.0 can actually still be called Pascal ?

2013-02-27 Thread Graeme Geldenhuys
On 2013-02-28 00:18, Andrew Brunner wrote: > > Jascal DOES look cool ;-) That will probably rid us from some of the Pascal Language stereotyping. :) RemObjects (with their Oxygene language) tagline says it best: "This is not your daddy's pascal" I love that tagline. Regards, - Graeme -

Re: [fpc-pascal] Object pascal language compatiblity - was: Does FPC 2.8.0 can actually still be called Pascal ?

2013-02-27 Thread Graeme Geldenhuys
On 2013-02-28 00:16, Simon Kissel wrote: > > This is a terrible idea. The business advantage of Object Pascal > has always been the component market, as it reduces development Component vendors simply aren't interested in FPC, and those that are, are bought about by EMBT and made Delphi only.

Re: [fpc-pascal] Does FPC 2.8.0 can actually still be called Pascal ?

2013-02-27 Thread Andrew Brunner
On 02/27/2013 05:50 PM, Graeme Geldenhuys wrote: FPC now definitely finds itself in the Jascal.NET territory. ;-) Regards, - Graeme - That's probably needed here. I think it's a great idea to embrace a new name for some future version that includes innovations. Pascal has been forced into

[fpc-pascal] Object pascal language compatiblity - was: Does FPC 2.8.0 can actually still be called Pascal ?

2013-02-27 Thread Simon Kissel
I still believe FPC should leave the "delphi compatible" idea, or clearly state that it means "compatible with Delphi 7 for legacy purposes" and nothing newer. Then innovate the rest of the language on its own in a Pascal-like manner. This is a terrible idea. The business advantage of Object Pas

Re: [fpc-pascal] How to get info about CPU and Memory usage?

2013-02-27 Thread Graeme Geldenhuys
On 2013-02-27 16:49, Michael Van Canneyt wrote: > > It is better to simply parse > /proc/cpuinfo > and > /proc/PID/* and hope all distros behave the same. My experience with OnGuard work is that your mileage will vary. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI tool

Re: [fpc-pascal] Does FPC 2.8.0 can actually still be called Pascal ?

2013-02-27 Thread Graeme Geldenhuys
On 2013-02-27 22:40, ik wrote: > For example 1000.to_string ?! I have it on Ruby and Java, but it's not > Pascal syntax. > Same goes for array constructors. Both of those are just hideous to me. Very un-Pascal like. :-( > I actually starting to ask the same questions of Graeme, do we really > w

[fpc-pascal] Does FPC 2.8.0 can actually still be called Pascal ?

2013-02-27 Thread ik
Hello, I was going over the wiki and looked at http://wiki.freepascal.org/FPC_New_Features_Trunk . It looks like some of the features here, actually breaks Pascal, and create something like Jascal or something, but it's not Pascal in spirit. For example 1000.to_string ?! I have it on Ruby and Java

Re: [fpc-pascal] OOP in FreePascal ARM-Embedded

2013-02-27 Thread Michael Ring
Objects work fine on ARM embedded, the documentation on this topic might be a little thin The minimum thing you need to do is to initialize the heap, after you have a valid Heapmanager you can use objects out of the box: program hellofpc; {$mode objfpc} uses heapmgr; begin RegisterH

Re: [fpc-pascal] How to get info about CPU and Memory usage?

2013-02-27 Thread Krzysztof
Thanks! This is what I needed ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] How to get info about CPU and Memory usage?

2013-02-27 Thread Michael Van Canneyt
On Wed, 27 Feb 2013, Krzysztof wrote: Hi, I need system info such CPU (by PID), memory usage (by PID), free memory etc. Target platform: Linux. Linux have command line tools like ps, top, memstat, but I'm just wondering if Free Pascal has wrappers for these commands. If not, then I just get

Re: [fpc-pascal] How to get info about CPU and Memory usage?

2013-02-27 Thread Ludo Brands
On 02/27/2013 05:25 PM, Krzysztof wrote: > Hi, > > I need system info such CPU (by PID), memory usage (by PID), free memory > etc. Target platform: Linux. > Linux have command line tools like ps, top, memstat, but I'm just > wondering if Free Pascal has wrappers for these commands. If not, then I

[fpc-pascal] How to get info about CPU and Memory usage?

2013-02-27 Thread Krzysztof
Hi, I need system info such CPU (by PID), memory usage (by PID), free memory etc. Target platform: Linux. Linux have command line tools like ps, top, memstat, but I'm just wondering if Free Pascal has wrappers for these commands. If not, then I just get these information by execution external proc

Re: [fpc-pascal] Free Pascal 2.6.2 - 64 - setup

2013-02-27 Thread silvioprog
2013/2/26 Gabor Boros > 2013.02.26. 15:20 keltezéssel, silvioprog írta: > >> Hello, >> >> There are a setup to install FPC 2.6.2 stable 64 bit? In SF >> (http://sourceforge.net/**projects/freepascal/files) >> have only 32. >> >> Thanks. >> >> -- >

Re: [fpc-pascal] OOP in FreePascal ARM-Embedded

2013-02-27 Thread Graeme Geldenhuys
On 2013-02-27 08:28, Juan Duran wrote: > Is anybody working on being able to uses classes, methods, etc (OOP) in > freepascal compiler for ARM embedded platform? OOP works fine already on that platform... what specific are you looking for? Regards, - Graeme - -- fpGUI Toolkit - a cross-plat

Re: [fpc-pascal] pascal compiler for ardurino

2013-02-27 Thread Mark Morgan Lloyd
ik wrote: Hello, Is there a Pascal compiler for Ardurino (instead of the existed build in language or C) ? Noting other peoples' responses, but I'm not sure that that's a meaningful question. "Arduino" is more a development environment and set of runtimes in its own right than a hardware pla

Re: [fpc-pascal] OOP in FreePascal ARM-Embedded

2013-02-27 Thread Mark Morgan Lloyd
Juan Duran wrote: Hi there, Is anybody working on being able to uses classes, methods, etc (OOP) in freepascal compiler for ARM embedded platform? What are you looking for that isn't already documented as being provided? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above

Re: [fpc-pascal] pascal compiler for ardurino

2013-02-27 Thread Sven Barth
On 27.02.2013 09:58, Ralf A. Quint wrote: I personally would like to be able to use FPC for some upcoming Raspberry Pi projects (which is an ARM v6/ARM11) rather than having to use C (though I am using C for +30 years now as well) Considering that there are screenshots of Lazarus running on the

Re: [fpc-pascal] pascal compiler for ardurino

2013-02-27 Thread Ralf A. Quint
At 12:44 AM 2/27/2013, Marco van de Voort wrote: If one is afraid of overhead, I would simply buy the vendor recommended compiler. Many of the 3rd party alternatives are less optimal too. At least they are with (ds)pic Well, as far as the micro controller vendors are concerned, those are usual

Re: [fpc-pascal] pascal compiler for ardurino

2013-02-27 Thread Marco van de Voort
In our previous episode, Ralf A. Quint said: > > > in language or C) ? > > > >FPC has an AVR target (the processor the Arduino is based on), but I > >don't know its state... (AFAIK its non working though :( ) > I know there is an entry in the FPC Wiki about that, but that is > quite "aged" and I

Re: [fpc-pascal] pascal compiler for ardurino

2013-02-27 Thread Ralf A. Quint
At 12:08 AM 2/27/2013, Sven Barth wrote: That's another question of course. But e.g. Florian tries to minimize the overhead of the embedded RTL and if you are aware that you shouldn't use high overhead features they won't be linked in either (e.g. if you don't use Variants then the variants uni

[fpc-pascal] OOP in FreePascal ARM-Embedded

2013-02-27 Thread Juan Duran
Hi there, Is anybody working on being able to uses classes, methods, etc (OOP) in freepascal compiler for ARM embedded platform? Cheers ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] pascal compiler for ardurino

2013-02-27 Thread Sven Barth
On 27.02.2013 08:11, Ralf A. Quint wrote: At 10:27 PM 2/26/2013, Sven Barth wrote: Am 26.02.2013 20:08 schrieb "ik" mailto:ido...@gmail.com>>: > > Hello, > > Is there a Pascal compiler for Ardurino (instead of the existed build > in language or C) ? FPC has an AVR target (the processor the Ard