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

2010-03-03 Thread Jonas Maebe
On 03 Mar 2010, at 18:16, Marco van de Voort wrote: > n Wed, Mar 03, 2010 at 01:30:41PM +0100, Jonas Maebe wrote: >>> And how to enable debug info only for FCL and packages?... >> >> After building normally and before doing the make install: >> >> make `pwd`/compiler/ppc386 packages_clean packa

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

2010-03-03 Thread Marco van de Voort
On Wed, Mar 03, 2010 at 01:30:41PM +0100, Jonas Maebe wrote: > > And how to enable debug info only for FCL and packages?... > > > After building normally and before doing the make install: > > make `pwd`/compiler/ppc386 packages_clean packages_all OPT="-O- -gl" > > (if you're not under unix: re

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

2010-03-03 Thread Marco van de Voort
On Wed, Mar 03, 2010 at 11:44:42AM +0100, Michael Schnell wrote: > > How come LCL is installed with, and RTL is installed without debugging > information ? It is the same with Delphi. In a new Delphi project "use debug dcu's" is off too. ___ fpc-devel

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

2010-03-03 Thread Nataraj S Narayan
Hi Henry Program received signal SIGSEGV, Segmentation fault. 0x001727dc in TQTOBJECT__BEGINEVENTPROCESSING (this=0x16bc38) at qtobjects.pas:820 820 inc(FInEventCount); Current language: auto; currently pascal (gdb) bt #0 0x001727dc in TQTOBJECT__BEGINEVENTPROCESSING (this=0x16bc38) at qto

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

2010-03-03 Thread Jonas Maebe
On 03 Mar 2010, at 13:12, Flávio Etrusco wrote: And how to enable debug info only for FCL and packages?... After building normally and before doing the make install: make `pwd`/compiler/ppc386 packages_clean packages_all OPT="-O- -gl" (if you're not under unix: replace `pwd` with the *full

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

2010-03-03 Thread Michael Schnell
On 03/03/2010 12:18 PM, Mattias Gaertner wrote: > Compiling fpc is very complicated. But there is hidden trick which > only a few people know. I will reveal the secret for the first time > ever to the public: > > make clean all OPT=-gl > sudo make install INSTALL_PREFIX=/usr > Of course I do se

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

2010-03-03 Thread Michael Schnell
On 03/03/2010 01:08 PM, Jonas Maebe wrote: > For example: if the RTL is compiled with debugging information, "step > into" will also step into every reference count increase and decrease, > every copy operation of one ansi/short/widestring to another one, > every iocheck operation, every threadvar

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

2010-03-03 Thread Flávio Etrusco
On Wed, Mar 3, 2010 at 9:08 AM, Jonas Maebe wrote: > > On 03 Mar 2010, at 12:18, Mattias Gaertner wrote: > >> On Wed, 03 Mar 2010 11:44:42 +0100 >> Michael Schnell wrote: >> >>> How come LCL is installed with, and RTL is installed without debugging >>> information ? >> >> To fit most user expecta

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

2010-03-03 Thread Jonas Maebe
On 03 Mar 2010, at 12:18, Mattias Gaertner wrote: On Wed, 03 Mar 2010 11:44:42 +0100 Michael Schnell wrote: How come LCL is installed with, and RTL is installed without debugging information ? To fit most user expectations. For example: if the RTL is compiled with debugging information

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

2010-03-03 Thread Mattias Gaertner
On Wed, 03 Mar 2010 11:44:42 +0100 Michael Schnell wrote: >[...] > > Install a RTL with debugging info. > > > > While its obvious that this in fact is the problem (and silly me did not > see it :( ): > > How come LCL is installed with, and RTL is installed without debugging > information ?

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

2010-03-03 Thread Henry Vermaak
On 2 March 2010 12:51, Nataraj S Narayan wrote: > open("/tmp/qtembedded-0//fonts/dejavu_sans_12_50.qsf", > O_RDWR|O_CREAT|O_EXCL, 0644) = 13 > write(13, "QPF2\0\0\0\0\2\0\0\270\0\0\0\vDejaVu Sans\0\1\0*/"..., 16568) = > 16568 > fstat64(13, {st_mode=S_IFREG|0644, st_size=16568, ...}) = 0 > mmap2(N

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

2010-03-03 Thread Michael Schnell
On 03/03/2010 10:21 AM, Mattias Gaertner wrote: > Then you see the linux implementation of PostMessage, not the windows > one. > :) > Install a RTL with debugging info. > While its obvious that this in fact is the problem (and silly me did not see it :( ): How come LCL is installed with,

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

2010-03-03 Thread Mattias Gaertner
On Wed, 03 Mar 2010 09:40:53 +0100 Michael Schnell wrote: > On 03/01/2010 07:29 PM, Mattias Gaertner wrote: > > Have you set the target OS in the compiler options to linux? > > > > I just did a normal installation and the program I compile does work. Then you see the linux implementation of

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

2010-03-03 Thread Michael Schnell
On 03/01/2010 07:29 PM, Mattias Gaertner wrote: > Have you set the target OS in the compiler options to linux? > I just did a normal installation and the program I compile does work. So I can't imagine that the compiler options are wrong. Seemingly the IDE sees some of these options wrong. Can