[fpc-pascal] a proposal about "with" syntax

2013-03-15 Thread Xiangrong Fang
Suppose I have the following class: type TMyClass = class public property Caption: string read FCaption write FCaption; property Items[Index: Integer]: string read GetItem write SetItem; default; function Count: Integer; end; I would like to do this: with MyClassInstance as mci

Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-15 Thread Justin Smyth
I'm using a LPC 1343 Microcontroller unit from waveshare, basically its a Cortex M3. the link for the board is - http://www.wvshare.com/product/Open1343-Package-A.htm I've now got STLInk V2 debugging kit , i want to debug this board in lazarus KInd Regards Justin -Original Message

Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-15 Thread Rainer Stratmann
What kind of controller? Atmel AVR 8 bit? ARM 32 bit? For AVR it works good. Am Friday 15 March 2013 13:29:48 schrieb Justin Smyth: > I've tried to use mikropascal and not had any luck , i emailed them my > board i was going to use with the product and they said they didnt support > it. may be i

Re: [fpc-pascal] FreeBSD failure compiling fpdoc 2.7.1

2013-03-15 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > > #gmake clean > gmake all -j 5 FPMAKEOPT="-T 8" FPC=$COMPILER > FPCOPT="-Fl/usr/local/lib/" OPT="-Fl/usr/local/lib/" > gmake install INSTALL_PREFIX=/data/devel/fpc-2.7.1/$TARGET/ FPC=$COMPILER You install using the bootstrap compiler, not the ge

RE: [fpc-pascal] FreeBSD failure compiling fpdoc 2.7.1

2013-03-15 Thread Pierre Free Pascal
> In seems that the 'gmake install' doesn't install the *.a files that FPC > generates, so my apps fail to link. I did a comparison between my 2.7.1 > and 2.6.0 (installed from official installer) directories. In 2.6.0 the > *.a files are found in the lib/fpc/2.6.0/... directories, but in 2.7.1 > t

Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-15 Thread Justin Smyth
I've tried to use mikropascal and not had any luck , i emailed them my board i was going to use with the product and they said they didnt support it. I've now got a ST Link V2 for the debugging , if someone could give me an idea how to set it up , i would be great full. Kind Regards Justi

[fpc-pascal] Re: fcl-xml

2013-03-15 Thread Benito van der Zander
Hi, > What is the state of XPath? > The readme says 'Should be fairly completed' - can I assume it works for > simple tasks? If you need xpath, you might also want to look at my Internet Tools ( (http://benibela.de/sources_en.html#internettools), they contain a basically complete XPath 2 imple

Re: [fpc-pascal] FreeBSD failure compiling fpdoc 2.7.1

2013-03-15 Thread Graeme Geldenhuys
On 2013-03-04 18:20, Marco van de Voort wrote: > > This is normal, pass -Fl/usr/local/lib in opt (for releases, makepack from > fpcbuild does this) Thanks, that worked. Now FPC 2.7.1 compiles without problems, and it install fine [or so it appears]. Last night I wanted to test with FPC 2.7.1 a

Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-15 Thread Rainer Stratmann
Am Friday 15 March 2013 10:40:15 schrieb Roberto P.: > 2013/3/15 Rainer Stratmann > > For 32 bit ARM I would try to use freepascal. > > I got it work somehow. > > any tip or guide would be appreciated, then. For me that is not easy. Most of the time I get it work somehow and shortly after I did

Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-15 Thread Michael Ring
Lazarus & Freepascal work fine & native on both windows / mac, with retina display lazarus actually looks very good when you use a current snapshot. mikropascal is windows only, when you only plan to use ARM then programming also works fine in a Parallels VM, when you plan to also target PIC/

Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-15 Thread Roberto P.
2013/3/15 Rainer Stratmann > > Can you make a comparison against FPC target-embedded ? > FPC target-embedded is very complicated to install (Linux development > computer). > I'm on Win32 (or Win32 on Parallels on Max OS X); I'll have to dig more to understand what is needed. > For 32 bit ARM I

Re: [fpc-pascal] [OT] Pascal compiler for embedded platforms

2013-03-15 Thread Rainer Stratmann
Am Friday 15 March 2013 01:27:51 schrieb Roberto P.: > Thanks a lot for your comments, very interesting indeed. > Can you make a comparison against FPC target-embedded ? FPC target-embedded is very complicated to install (Linux development computer). > I routinely write in C for the microcontrolle