Re: [fpc-devel] Lazarus keeps it's secrets

2010-03-01 Thread Mattias Gaertner
On Mon, 01 Mar 2010 14:20:59 +0100 Michael Schnell wrote: > To explore how PostMessage() in Linux works, I try to follow the source > code. > > If I do ctrl-click in PostMessage Lazarus takes me to the Windows > implementation source code, that of course is not active with a Linux > project. ?

Re: [fpc-devel] Help with Lazarus

2010-03-01 Thread dmitry boyarintsev
On Mon, Mar 1, 2010 at 6:53 PM, Vincent Snijders wrote: > Please, create a bug report and assign it to me, so I won't forget it. Done: http://bugs.freepascal.org/view.php?id=15874 ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.fr

Re: [fpc-devel] fp IDE with libgdb

2010-03-01 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 01 Mar 2010, at 15:10, Mark Morgan Lloyd wrote: I'm still getting a bus or alignment error in the fp IDE when driving gdb but I'm reasonably optimistic that I'll be able to find that now. PowerPC is fine so it's probably not something like an endianness issue. A bus er

Re: [fpc-devel] Help with Lazarus

2010-03-01 Thread Vincent Snijders
dmitry boyarintsev schreef: On Mon, Mar 1, 2010 at 1:30 PM, Jonas Maebe wrote: I also don't think it is a good idea that Lazarus does its own packaging of official release versions of the compiler, because that can only lead to confusion and additional errors (as above -- now before finding o

Re: [fpc-devel] fp IDE with libgdb

2010-03-01 Thread Jonas Maebe
On 01 Mar 2010, at 15:10, Mark Morgan Lloyd wrote: > I'm still getting a bus or alignment error in the fp IDE when driving gdb but > I'm reasonably optimistic that I'll be able to find that now. PowerPC is fine > so it's probably not something like an endianness issue. A bus error generally me

Re: [fpc-devel] fp IDE with libgdb

2010-03-01 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Note that the code is correct: it's output the Hello World message even though subsequently the debugger is confused. d48656c = #13'Hel'. gdb on SPARC is trying to dereference the string itself. I've fixed this in r13813 in trunk. 0d48. Well spotted :-) OK, I'll get

Re: [fpc-devel] procedure ... message(); in Linux

2010-03-01 Thread Mattias Gärtner
Zitat von Michael Schnell : On 03/01/2010 10:36 AM, Mattias Gaertner wrote: You need lazarus 0.9.29. I might try to get this running some day soon Try that on "PostMessage". I get a method in unit InterfaceBase and a procedure in unit LCLIntf. Obviously you want the last. I've

Re: [fpc-devel] procedure ... message(); in Linux

2010-03-01 Thread Mattias Gärtner
Zitat von Juha Manninen : Hi, What gave no feedback? Ok, I tested again with a non-typical situation. I worked with lazarus.lpi and built Lazarus from tools -> Configure Build Lazarus. The error messages show up just like when compiling a "normal" project but "search identifier" does nothing

[fpc-devel] Lazarus keeps it's secrets

2010-03-01 Thread Michael Schnell
To explore how PostMessage() in Linux works, I try to follow the source code. If I do ctrl-click in PostMessage Lazarus takes me to the Windows implementation source code, that of course is not active with a Linux project. If I set a breakpoint at the line containing PostMessage(), execution does

Re: [fpc-devel] fpc on arm-linux-uclibc and OABI

2010-03-01 Thread darekm
> /usr/local/lib/fpc/2.5.1/units/arm-linux/rtl/system.o: In function > `SYSTEM_SYSTEM_EXIT': > system.pp:(.text.n_system_system_exit+0x10): undefined reference to > `_haltproc_eabi' > noy1.lpr(23) Error: Error while linking > noy1.lpr(23) Fatal: There were 1 errors compiling module, stopping > Fata

Re: [fpc-devel] Native compilers for non-x86

2010-03-01 Thread Henry Vermaak
On 25 February 2010 21:22, Mark Morgan Lloyd wrote: > I'm having another of my periodic attempts at getting various systems > up-to-date here, and I wonder if I could ask for help with build problems. > > First machine is an ARM-based Linksys NSLU2 "Slug", running Debian "Squeeze" > i.e. little-en

Re: [fpc-devel] fpc on arm-linux-uclibc and OABI

2010-03-01 Thread Jonas Maebe
On 01 Mar 2010, at 12:24, Nataraj S Narayan wrote: > system.pp:(.text.n_system_system_exit+0x10): undefined reference to > `_haltproc_eabi' > noy1.lpr(23) Error: Error while linking > noy1.lpr(23) Fatal: There were 1 errors compiling module, stopping > Fatal: Compilation aborted > > Again, have

Re: [fpc-devel] procedure ... message(); in Linux

2010-03-01 Thread Michael Schnell
On 03/01/2010 10:43 AM, Juha Manninen wrote: > > You must first select the error saying "identifier not found" and then right > click on it. > I only can select a complete line in the message window. -Michael ___ fpc-devel maillist - fpc-devel@list

Re: [fpc-devel] fpc on arm-linux-uclibc and OABI

2010-03-01 Thread Nataraj S Narayan
Yep. Got the zip root nataraj 15342919 Mar 1 15:59 /software/fpc/fpc-2.5.1.arm-linux.tar.gz using #gmake all crosszipinstall CPU_TARGET=arm OS_TARGET=linux OPT=-dFPC_ARMEL After that, replaced /usr/local/lib/fpc/2.5.1/units/arm-linux with the corresponding one inside the tar.gz The tried c

Re: [fpc-devel] procedure ... message(); in Linux

2010-03-01 Thread Michael Schnell
On 03/01/2010 10:36 AM, Mattias Gaertner wrote: > > You need lazarus 0.9.29. > I might try to get this running some day soon Try that on "PostMessage". I've not yet been able top find the Linux definition of same. Keeping on trying -Michael ___

Re: [fpc-devel] procedure ... message(); in Linux

2010-03-01 Thread Juha Manninen
Hi, > What gave no feedback? Ok, I tested again with a non-typical situation. I worked with lazarus.lpi and built Lazarus from tools -> Configure Build Lazarus. The error messages show up just like when compiling a "normal" project but "search identifier" does nothing. Now I tested with a "nor

Re: [fpc-devel] Help with Lazarus

2010-03-01 Thread dmitry boyarintsev
On Mon, Mar 1, 2010 at 1:30 PM, Jonas Maebe wrote: > I also don't think it is a good idea that Lazarus does its own packaging of > official release versions of the compiler, because that can only lead to > confusion and additional errors (as above -- now before finding out what the > problem is

Re: [fpc-devel] Help with Lazarus

2010-03-01 Thread Jonas Maebe
On 01 Mar 2010, at 11:21, Mattias Gaertner wrote: > On Sun, 28 Feb 2010 22:57:54 +0200 > Jordan Levy wrote: > >> Hi I need help finding the compiler on my computer using Mac OS X 10.6.2. >> Every time I launch Lazarus IDE I get a message saying that the Free Pascal >> Source Directory is not f

Re: [fpc-devel] Help with Lazarus

2010-03-01 Thread Mattias Gaertner
On Sun, 28 Feb 2010 22:57:54 +0200 Jordan Levy wrote: > Hi I need help finding the compiler on my computer using Mac OS X 10.6.2. > Every time I launch Lazarus IDE I get a message saying that the Free Pascal > Source Directory is not found and I can not find the Free Pascal Source > directory p

Re: [fpc-devel] Help with Lazarus

2010-03-01 Thread Jonas Maebe
On 28 Feb 2010, at 21:57, Jordan Levy wrote: > Hi I need help finding the compiler on my computer using Mac OS X 10.6.2. > Every time I launch Lazarus IDE I get a message saying that the Free Pascal > Source Directory is not found and I can not find the Free Pascal Source > directory physically

[fpc-devel] Help with Lazarus

2010-03-01 Thread Jordan Levy
Hi I need help finding the compiler on my computer using Mac OS X 10.6.2. Every time I launch Lazarus IDE I get a message saying that the Free Pascal Source Directory is not found and I can not find the Free Pascal Source directory physically on my computer anywhere, so please can ou give me the

Re: [fpc-devel] procedure ... message(); in Linux

2010-03-01 Thread Mattias Gaertner
On Mon, 1 Mar 2010 11:43:23 +0200 Juha Manninen wrote: > Hi, > > > All these are very interesting options I was not aware of, but > > unfortunately no search for identifiers. > > You must first select the error saying "identifier not found" and then right > click on it. > > I tested it with s

Re: [fpc-devel] procedure ... message(); in Linux

2010-03-01 Thread Mattias Gaertner
On Mon, 01 Mar 2010 10:14:50 +0100 Michael Schnell wrote: > On 02/26/2010 04:10 PM, Mattias Gaertner wrote: > > ' > > There are several tools in Lazarus for this: > > - click compile, fpc will give "identifier not found", right click on > > the message - popup menu - search identifier. This wil

Re: [fpc-devel] procedure ... message(); in Linux

2010-03-01 Thread Juha Manninen
Hi, > All these are very interesting options I was not aware of, but > unfortunately no search for identifiers. You must first select the error saying "identifier not found" and then right click on it. I tested it with some broken code and it gave no feedback at all. I think it should always g

Re: [fpc-devel] procedure ... message(); in Linux

2010-03-01 Thread Michael Schnell
On 02/26/2010 10:21 AM, Mattias Gaertner wrote: > > PostMessage is threadsafe, dispatch is not. > Not only thread-save, but thread traversing, which is the proper function of the message delivering library service. Seemingly the function names are wisely chose (regarding the work of a parcel se

Re: [fpc-devel] procedure ... message(); in Linux

2010-03-01 Thread Michael Schnell
On 02/26/2010 04:10 PM, Mattias Gaertner wrote: > ' > There are several tools in Lazarus for this: > - click compile, fpc will give "identifier not found", right click on > the message - popup menu - search identifier. This will search all > units. On first time it may take a minute to scan >

Re: [fpc-devel] fpc on arm-linux-uclibc and OABI

2010-03-01 Thread Florian Klaempfl
Nataraj S Narayan schrieb: > Florian > > Getting this kinda errors when using:- No wonder. Read again what I wrote. > > # gmake distclean crosszipinstall CPU_TARGET=arm OS_TARGET=linux > CROSSOPT='-dFPC-ARMEL ' > >>> #make distclean crosszipinstall CPU_TARGET=arm CROSSOPT='-CfSOFT -darm >>> -d