Re: RES: [lazarus] Who Discussed Linker Slowness?
On Tuesday 14 February 2006 04:56, Henrique de Paula Faria wrote: > Vincent, can you give some tip on how to configure the publish project to > strip and upx the executable ? > > Henrique. > > You can strip and upx from the project options as well, (using the postbuild command and the compiler settings in conjunction). But it is NOT an answer ! Strip - rips out debugging code - NOT static linking ! UPX compresses the executable - in a NOT AS COMPATIBLE/SAFE AS THEY SAY way. I know, I used to use UPX, I have seen how badly it goes wrong when it does - apps that simply won´t run after being compiled... These are work-arounds to the REAL issue which is that by default lazarus links statically. Smartlinking takes longer but it is the right way(tm). You should STILL strip any program you are distributing but THAT is just standard software distribution policy - debugging symbols are for building, not for shipping. In other words, it´s the size of the executable AFTER stripping we should be concerned about. An outside executable compresor may or may not be usefull to you but depending on one is a bad thing(tm) and CERTAINLY not as a work-around for static linking. The fact that lazarus is meant to be multiplatform and that the number of support platforms are increasing makes this doubly important. I know that ppc386 can take a commandline option to tell it whether or not to smartlink, though I don´t know if this can just disable compiler directives for smartlinking or if it can replace them. Correctly used however, that is the answer, publish project should smartlink the code, if smartlinking is to slow then the normal run-build-run version should static link your program. The LCL needs to be smart linkable, but I don´t think it always needs to be smartlinked. You should be able to static link during development. Ciao A.J. PS. Dynamic linking is not even an option to me - the last thing I want is for my lazarus programs to start behaving like kylix programs and insist you load about 12 other library packages which may or may not have been built for your glibc depending on whether borland was in a good mood that day. -- "80% Of a hardware engineer's job is application of the uncertainty principle. 80% of a software engineer's job is pretending this isn't so." A.J. Venter Chief Software Architect OpenLab International http://www.getopenlab.com | +27 82 726 5103 (South Africa) http://www.silentcoder.co.za| +55 118 162 2079 (Brazil) _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Who Discussed Linker Slowness?
On Monday 13 February 2006 17:55, Lord Satan wrote: > > Is anybody using a way around or are you all day waiting? > > The way around is running under Linux where linking is much faster. > As often said the speed problems are caused by the GNU linker and AFAIK > there is no way to solve this other than writing a new linker. I was the one who first pointed this out, and I can give you a few insights, a large part of the speed issue is with the way GNU ld seems to treats (lazarus?) sources and their libraries. Linking speed become a direct factor of how much ram you have. My little 128mb laptop starts swapping like a maniac while linking and can take 30 minutes on anything with more than a few basic widgets, same code on my desktop (2GB of ram) takes about 3 seconds. What I did find is that the best way to up the linker speed when you don´t have a lot of ram is to write a wrapper script in /usr/bin (I called mine nicefpc) which will launch ppc386 with a much lower nice value (I used -18) then give it the suid bit so it can actually be launched and pass ppc386 a $* (so it gets all the parameters) and then tell lazarus to use nicefpc as it´s compile command. This ONLY works under linux but with the nice value way below everything else ppc386 and it´s spawns (like ld) all get maximum priority for memory and CPU access. Just don´t try to read mail while compiling :) Of course this works only under linux, dunno if there is a way to do something similiar on win32. A.J. -- "80% Of a hardware engineer's job is application of the uncertainty principle. 80% of a software engineer's job is pretending this isn't so." A.J. Venter Chief Software Architect OpenLab International http://www.getopenlab.com | +27 82 726 5103 (South Africa) http://www.silentcoder.co.za| +55 118 162 2079 (Brazil) _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Re: Some Errors
Vincent Snijders wrote: Mattias Gaertner wrote: On Mon, 13 Feb 2006 20:59:41 +0800 Funky Beast <[EMAIL PROTECTED]> wrote: Kleiton L R Soares wrote: Good Morning, I'm try use Lazarus but... i'm add a button and click on event onClick, when i make this action one aerror message is showed to me ... "Unable to find method. Plz fix the error shown in the message window" in message window Error: unit not found:StdCtrls i'm remove ... and make the action again other error Error: unit not found:ExtCtrls i'm remove ... and make the action again other error Error: unit not found:Buttons i don't can make actions... various erros !!! somebody can help-me Enviroment->Enviroment Options: Files Tab->Lazarus Directory must point to root of Lazarus source directory e.g. /usr/local/lazarus. Stumped me the first time i use Lazarus :-) /usr/local/lazarus is one of the standard directories, so the IDE should find this automatically. I wonder, why not on your system. Is it not /usr/local/lib/lazarus or /usr/local/share/lazarus? Vincent. Neither of those paths (or any "/usr/local/" related paths) were on my $PATH at that time. The installation of some distros did not include them in $PATH. It might also be that the excecutable was placed somewhere else than the Lazarus directory (e.g when install component packages with no write permission to /usr/local/lazarus, it wrote lazarus executable to /home/user/.lazarus/bin), so ProgramDirectory() function didn't catch it either. Suggestion: "Build Lazarus" or "make clean all" to write something in lazarus config path about where the latest lazarus executable was built from, for lazarus to use it as a fallback reference, if CheckLazarusDirectory fails. Funky Beast _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RES: [lazarus] Who Discussed Linker Slowness?
Vincent, can you give some tip on how to configure the publish project to strip and upx the executable ? Henrique. -Mensagem original- De: Vincent Snijders [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 13 de fevereiro de 2006 03:18 Para: lazarus@miraclec.com Assunto: Re: [lazarus] Who Discussed Linker Slowness? Christian U. wrote: >>you could add a "Final Build" Menu item. > > > I think, this is an good idea, a publish menue Item can strip and maybe upx > the executable. > An public folder describes where to place the final executable. > And that is exactly what publish project can do, when you have configured it correctly. Vincent. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Win32 Api Calls
> Can anyone please tell me how can I make calls to the Win32 Api ? > Is there a unit I must include or something else I must do ? Windows.pas or Windows.pp unit from FPC is what you need. Check this out: http://z505.com/PWAPI1/windows2/index-5.html Haven't started documenting it yet, LOL _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Win32 Api Calls
Can anyone please tell me how can I make calls to the Win32 Api ? Is there a unit I must include or something else I must do ? anthonyb _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] DBimage dont work
I have in my project a dbimage component connected to a mysql 4.1 database with images in a long blob type. The dbimage component do not show any image, but this work in kylix. I use the last snapshot of lazarus and the zeosdbo in the linux. Any ideas ? Jorge Costa - Portugal _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] x86_64 rpm of lazarus snapshots
Martin Waldenburg wrote: Vincent Snijders wrote: ftp://ftp.tu-chemnitz.de/pub/linux/suse/suse/x86_64/9.3/suse/x86_64/glib-devel-1.2.10-593.x86_64.rpm installed? 1.2.10-595 Then it i probably some path problem. It looks like this FAQ: http://wiki.lazarus.freepascal.org/index.php/Lazarus_Faq#I_receive_an_error_during_the_linking_that_states_.2Fusr.2Fbin.2Fld_can.27t_find_-l.3Csome_lib.3E But you installed the dev-package. In what directory is libglib.so? Maybe you add -Fl/path/to/libglib.so to /etc/fpc.cfg? Vincent. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] Who Discussed Linker Slowness?
I understood what you said but this way, link times are just unacceptable, so the only "work around", at least for me, is to strip/upx at the end. Maybe the solution, as many states, is a brand new linker... -Original Message- From: Felipe Monteiro de Carvalho [mailto:[EMAIL PROTECTED] Sent: Monday, February 13, 2006 9:38 PM To: lazarus@miraclec.com Subject: Re: [lazarus] Who Discussed Linker Slowness? On 2/13/06, anthony boudouvas <[EMAIL PROTECTED]> wrote: > Yes but this way, we have every time we build something faster > link-time, which is essential because we do it continuously, and when > we are done we use strip (and then upx) and we get > smaller executables easily... I think you did not understand. After strip and upx, comparing a file with smartlinking and one without smartlinking. The smartlinked executable is 30% smaller. Read the link on my other e-mail. Perhaps the ideal would be if we could have one LCL without smartlinking for the creation process and another with smartlink for the final Release? How big / difficult would this be? -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] x86_64 rpm of lazarus snapshots
Vincent Snijders wrote: ftp://ftp.tu-chemnitz.de/pub/linux/suse/suse/x86_64/9.3/suse/x86_64/glib-devel-1.2.10-593.x86_64.rpm installed? 1.2.10-595 Martin _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Who Discussed Linker Slowness?
Felipe Monteiro de Carvalho wrote: Perhaps the ideal would be if we could have one LCL without smartlinking for the creation process and another with smartlink for the final Release? How big / difficult would this be? Yes, this would really be good. Especially if the one could freely choose which option to compile/build. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] x86_64 rpm of lazarus snapshots
Martin Waldenburg wrote: Vincent Snijders wrote: Suse doesn't put the + in the name. thanks. I get the following messages if I try to run an emty project. Is ftp://ftp.tu-chemnitz.de/pub/linux/suse/suse/x86_64/9.3/suse/x86_64/glib-devel-1.2.10-593.x86_64.rpm installed? Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] x86_64 rpm of lazarus snapshots
Vincent Snijders wrote: Suse doesn't put the + in the name. thanks. I get the following messages if I try to run an emty project. Martin Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 2.1.1 [2006/02/13] for x86_64 Copyright (c) 1993-2005 by Florian Klaempfl Target OS: Linux for x86-64 Compiling /tmp/project1.lpr Compiling unit1.pas Assembling unit1 Assembling project1 Linking /tmp/project1 /usr/bin/ld: skipping incompatible /opt/gnome/lib//libglib.so when searching for -lglib /usr/bin/ld: skipping incompatible /opt/gnome/lib//libglib.a when searching for -lglib /usr/bin/ld: cannot find -lglib project1.lpr(16) Error: Error while linking /usr/bin/ld: skipping incompatible /opt/gnome/lib//libglib.so when searching for -lglib /usr/bin/ld: skipping incompatible /opt/gnome/lib//libglib.a when searching for -lglib /usr/bin/ld: cannot find -lglib project1.lpr(16) Error: Error while linking _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Illegal floating point operation error
Anders Ellenshøj Andersen wrote: I am trying out lazarus for the first time. I am running Debian/Sid-amd64. I am using fpc2.0.2a from sourceforge and lazarus 0.9.12 from the same page. I put fpc in ~/fpc-2.0.2 and lazarus in ~/lazarus. After starting lazarus it complains that it cannot find its sources and that I should set them up in environment options. So I go to the menu Environment and select Environment Options. A blank window opens and closes immidiately and an error message appears with the error "Illegal floating point operation error". This is a bug that is present only in 2.0.2 for x86_64 the svn version (2.1.1) does not have this bug. there are some snapshots of fpc here http://www.de.freepascal/org/lazarus. unfortunately the 2.0.3 version does not compile lazarus on x86_64 right now. Andrew _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Illegal floating point operation error
I am trying out lazarus for the first time. I am running Debian/Sid-amd64. I am using fpc2.0.2a from sourceforge and lazarus 0.9.12 from the same page. I put fpc in ~/fpc-2.0.2 and lazarus in ~/lazarus. After starting lazarus it complains that it cannot find its sources and that I should set them up in environment options. So I go to the menu Environment and select Environment Options. A blank window opens and closes immidiately and an error message appears with the error "Illegal floating point operation error". Anders -- - Debian GNU/Linux - KDE 3.5.1 - KMail 1.9.1 - _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Who Discussed Linker Slowness?
On 2/13/06, anthony boudouvas <[EMAIL PROTECTED]> wrote: > Yes but this way, we have every time we build something faster link-time, > which is essential because > we do it continuously, and when we are done we use strip (and then upx) and > we get > smaller executables easily... I think you did not understand. After strip and upx, comparing a file with smartlinking and one without smartlinking. The smartlinked executable is 30% smaller. Read the link on my other e-mail. Perhaps the ideal would be if we could have one LCL without smartlinking for the creation process and another with smartlink for the final Release? How big / difficult would this be? -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] x86_64 rpm of lazarus snapshots
Martin Waldenburg wrote: Vincent Snijders wrote: I suppose they are available in fedora repositories. I found this: http://download.fedora.redhat.com/pub/fedora/linux/core/4/x86_64/os/Fedora/RPMS/gtk+-devel-1.2.10-39.x86_64.rpm thanks, but unfortunately not compatible to SuSe 10. Suse doesn't put the + in the name. For 9.3 I could find ftp://ftp.tu-chemnitz.de/pub/linux/suse/suse/x86_64/9.3/suse/x86_64/gtk-devel-1.2.10-885.x86_64.rpm I expect a similarly named rpm to be found on the cd or dvd of suse. HTH, Vincent. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] Who Discussed Linker Slowness?
Yes but this way, we have every time we build something faster link-time, which is essential because we do it continuously, and when we are done we use strip (and then upx) and we get smaller executables easily... -Original Message- From: Felipe Monteiro de Carvalho [mailto:[EMAIL PROTECTED] Sent: Monday, February 13, 2006 7:30 PM To: lazarus@miraclec.com Subject: Re: [lazarus] Who Discussed Linker Slowness? On 2/13/06, anthonyb <[EMAIL PROTECTED]> wrote: > I rebuild Lazarus from the menu and linker seems to be ok now... Is it > the correct way to do so ?? By doing this you will lose the benefits of smartlinking, i.e. executables about 30% smaller. This is a exchange. With smartlinking the executable is smaller, without, the linker is faster. There is a study about this here: http://wiki.lazarus.freepascal.org/index.php/File_size_and_smartlinking -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] x86_64 rpm of lazarus snapshots
Vincent Snijders wrote: I suppose they are available in fedora repositories. I found this: http://download.fedora.redhat.com/pub/fedora/linux/core/4/x86_64/os/Fedora/RPMS/gtk+-devel-1.2.10-39.x86_64.rpm thanks, but unfortunately not compatible to SuSe 10. Martin _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Re: Some Errors
Mattias Gaertner wrote: On Mon, 13 Feb 2006 20:59:41 +0800 Funky Beast <[EMAIL PROTECTED]> wrote: Kleiton L R Soares wrote: Good Morning, I'm try use Lazarus but... i'm add a button and click on event onClick, when i make this action one aerror message is showed to me ... "Unable to find method. Plz fix the error shown in the message window" in message window Error: unit not found:StdCtrls i'm remove ... and make the action again other error Error: unit not found:ExtCtrls i'm remove ... and make the action again other error Error: unit not found:Buttons i don't can make actions... various erros !!! somebody can help-me Enviroment->Enviroment Options: Files Tab->Lazarus Directory must point to root of Lazarus source directory e.g. /usr/local/lazarus. Stumped me the first time i use Lazarus :-) /usr/local/lazarus is one of the standard directories, so the IDE should find this automatically. I wonder, why not on your system. Is it not /usr/local/lib/lazarus or /usr/local/share/lazarus? Vincent. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] x86_64 rpm of lazarus snapshots
Martin Waldenburg wrote: Vincent Snijders wrote: From now on lazarus snapshots are also available as x86_64 rpm files. from where could I get the required gtk+-devel x86_64 rpm files ? I suppose they are available in fedora repositories. I found this: http://download.fedora.redhat.com/pub/fedora/linux/core/4/x86_64/os/Fedora/RPMS/gtk+-devel-1.2.10-39.x86_64.rpm I assume there are mirrors. Vincent. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Re: Some Errors
On Mon, 13 Feb 2006 20:59:41 +0800 Funky Beast <[EMAIL PROTECTED]> wrote: > Kleiton L R Soares wrote: > > Good Morning, > > > > I'm try use Lazarus but... > > > > i'm add a button and click on event onClick, when i make this action one > > aerror message is showed to me ... > > > > "Unable to find method. Plz fix the error shown in the message window" > > in message window > > Error: unit not found:StdCtrls > > i'm remove ... and make the action again other error > > Error: unit not found:ExtCtrls > > i'm remove ... and make the action again other error > > Error: unit not found:Buttons > > > > i don't can make actions... various erros !!! somebody can help-me > > > > > > Enviroment->Enviroment Options: Files Tab->Lazarus Directory must point to > root of Lazarus source directory e.g. /usr/local/lazarus. > > Stumped me the first time i use Lazarus :-) /usr/local/lazarus is one of the standard directories, so the IDE should find this automatically. I wonder, why not on your system. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] x86_64 rpm of lazarus snapshots
Vincent Snijders wrote: From now on lazarus snapshots are also available as x86_64 rpm files. from where could I get the required gtk+-devel x86_64 rpm files ? Martin _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] In Memory Dataset
Michael Van Canneyt wrote: FPC has a TBufDataset which is also very suitable for creating an in-memory dataset, as it handles all bufffer management for you. Michael. This is exactly what I was looking for!!! It also then is used in TSQLQuery, which is exactly what I am looking to do to, using dbExpress as the data source. If I can get this working, it may be pretty easy to convert dbExpress Plus for Lazarus use, which would open up DB capability in a big way. Running into a problem. There are several places in the code that a ^pchar is being referred to as an array TArrayBuffers = ^pchar FBBuffers : TArrayBuffers; FBBuffers[i] Delphi 7 doesn't like this at all and comes back with Array Type required error. I suck when in comes to pointers which is why I like OP so much, so any help would be appreciated. -- Thomas Miller Chrome Portal Project Manager Wash DC Delphi SIG Chairperson Delphi Client/Server Certified Developer BSS Accounting & Distribution Software BSS Enterprise Accounting FrameWork http://www.bss-software.com http://www.cpcug.org/user/delphi/index.html http://sourceforge.net/projects/chromeportal/ http://sourceforge.net/projects/uopl/ http://sourceforge.net/projects/dbexpressplus _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Image list and PageControl
Hi, I placed a ImageList on a form. Added two images (xpm-files from lazarus/image directory). The placed a PageControl on the form and added two pages. Assigned the ImageList to the PageControl.Images property. When ever you switch to the form you get a message 'Invalid Type cast'. The third time Lazarus crashed. lazarus.pp - unhandled exception Note: GetTextBuf is overridden for: :�(_ Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 2542048 (LWP 27636)] 0x in ?? () (gdb) bt #0 0x in ?? () #1 0x0813ec25 in TCONTROL__GETTEXT (this=0xe669cc) at control.inc:2241 #2 0x081416c1 in TCONTROL__SETTEXT (VALUE=0xd797a4, this=0xe669cc) at control.inc:3296 #3 0x080a2689 in TMAINIDE__UPDATECAPTION (this=0x26d0fc) at main.pp:8956 #4 0x080b03f8 in TMAINIDEBASE__SETTOOLSTATUS (AVALUE=ITEXITING, this=0x26d0fc) at mainbase.pas:230 #5 0x0808c6eb in TMAINIDE__SETTOOLSTATUS (AVALUE=ITEXITING, this=0x26d0fc) at main.pp:2727 #6 0x08086477 in TMAINIDE__DESTROY (vmt=0x1, this=0x26d0fc) at main.pp:1127 #7 0x0805f10a in SYSTEM_TOBJECT_$__FREE () #8 0x0026d0fc in ?? () #9 0x08077316 in TAPPLICATION__DOBEFOREFINALIZATION (this=0x29d01c) at application.inc:804 #10 0x0806d8d1 in FORMS_NOTIFYAPPLICATIONUSERINPUT$LONGWORD () at forms.pp:1304 #11 0x0806352c in SYSTEM_INTERNALEXIT () #12 0x08063709 in SYSTEM_DO_EXIT () #13 0x0806373a in SYSTEM_HALT$BYTE () #14 0xbfbbb000 in ?? () #15 0x0805476e in main () at lazarus.pp:101 (gdb) c Continuing. [FORMS.PP] ExceptionOccurred Sender=EAccessViolation Exception=Access violation Stack trace: $ $081416C1 TCONTROL__SETTEXT, line 3296 of ./include/control.inc $080A2689 TMAINIDE__UPDATECAPTION, line 8956 of main.pp $080B03F8 TMAINIDEBASE__SETTOOLSTATUS, line 230 of mainbase.pas $0808C6EB TMAINIDE__SETTOOLSTATUS, line 2727 of main.pp $08086477 TMAINIDE__DESTROY, line 1127 of main.pp $0805F10A $0806D8D1 NOTIFYAPPLICATIONUSERINPUT, line 74 of forms.pp $0806352C TApplication.HandleException: there was another exception during showing the first exception Program received signal SIGSEGV, Segmentation fault. 0x080bfe5a in CLASSES_TLIST_$__GETCOUNT$$LONGINT () (gdb) c Continuing. [FORMS.PP] ExceptionOccurred Program received signal SIGSEGV, Segmentation fault. 0x6f6e6769 in ?? () (gdb) c Continuing. [FORMS.PP] ExceptionOccurred Program exited normally. -- Matthijs Willemstein <[EMAIL PROTECTED]> _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Who Discussed Linker Slowness?
On 2/13/06, anthonyb <[EMAIL PROTECTED]> wrote: > I rebuild Lazarus from the menu and linker seems to be ok now... > Is it the correct way to do so ?? By doing this you will lose the benefits of smartlinking, i.e. executables about 30% smaller. This is a exchange. With smartlinking the executable is smaller, without, the linker is faster. There is a study about this here: http://wiki.lazarus.freepascal.org/index.php/File_size_and_smartlinking -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Who Discussed Linker Slowness?
anthonyb wrote: I rebuild Lazarus from the menu and linker seems to be ok now... Is it the correct way to do so ?? Actually rebuilding just the LCL is good enough. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] Who Discussed Linker Slowness?
I rebuild Lazarus from the menu and linker seems to be ok now... Is it the correct way to do so ?? -Original Message- From: Johannes Nohl [mailto:[EMAIL PROTECTED] Sent: Monday, February 13, 2006 5:43 PM To: lazarus@miraclec.com Subject: Re: [lazarus] Who Discussed Linker Slowness? And there's really no way to accelerate linking - in any way? Maybe (for testing purposes only) just create a library per unit and form and run it from a earlier compiled and already linked application? It is boring to compare to delphi, allways. But there must be different ways to target. If it isn't the "delphi fast way" there still could be a "fpc/lazarus fast way". Is anybody using a way around or are you all day waiting? It's such a waste of time, especially if I try to eliminate a run time error or similar (or maybe I'm just amateur in programming). Greets, Johannes _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Who Discussed Linker Slowness?
> Is anybody using a way around or are you all day waiting? The way around is running under Linux where linking is much faster. As often said the speed problems are caused by the GNU linker and AFAIK there is no way to solve this other than writing a new linker. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Who Discussed Linker Slowness?
And there's really no way to accelerate linking - in any way? Maybe (for testing purposes only) just create a library per unit and form and run it from a earlier compiled and already linked application? It is boring to compare to delphi, allways. But there must be different ways to target. If it isn't the "delphi fast way" there still could be a "fpc/lazarus fast way". Is anybody using a way around or are you all day waiting? It's such a waste of time, especially if I try to eliminate a run time error or similar (or maybe I'm just amateur in programming). Greets, Johannes _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] [Fwd: lazarus works on solaris]
Awesome ! The future looks good... Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] [Fwd: lazarus works on solaris]
--- Begin Message --- I've no time to make a screenshot, but lazarus starts and shows all windows. --- End Message ---
Re: [lazarus] x86_64 rpm of lazarus snapshots
Florian Klaempfl wrote: Vincent Snijders wrote: Hi, From now on lazarus snapshots are also available as x86_64 rpm files. As all snapshots they are using fpc 2.1.1. They can be downloaded from: http://www.de.freepascal.org/lazarus/ http://michael-ep3.physik.uni-halle.de/Lazarus/ As you can see, this page is getting a bit full. In the future I want to provide snapshots based on a released fpc (fpc 2.0.2 for example). I would be happy, if somebody could make a new design for this page. At least it would be nice to see what's necessary for a working lazarus. BTW: Can't this be integrated into the lazarus page? What is the lazarus page? Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Re: Some Errors
Kleiton L R Soares wrote: Good Morning, I'm try use Lazarus but... i'm add a button and click on event onClick, when i make this action one a error message is showed to me ... "Unable to find method. Plz fix the error shown in the message window" in message window Error: unit not found:StdCtrls i'm remove ... and make the action again other error Error: unit not found:ExtCtrls i'm remove ... and make the action again other error Error: unit not found:Buttons i don't can make actions... various erros !!! somebody can help-me Enviroment->Enviroment Options: Files Tab->Lazarus Directory must point to root of Lazarus source directory e.g. /usr/local/lazarus. Stumped me the first time i use Lazarus :-) Cheers Funky Beast _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] x86_64 rpm of lazarus snapshots
Vincent Snijders wrote: > Hi, > > From now on lazarus snapshots are also available as x86_64 rpm files. As > all snapshots they are using fpc 2.1.1. > > They can be downloaded from: > http://www.de.freepascal.org/lazarus/ > http://michael-ep3.physik.uni-halle.de/Lazarus/ > > As you can see, this page is getting a bit full. In the future I want to > provide snapshots based on a released fpc (fpc 2.0.2 for example). I > would be happy, if somebody could make a new design for this page. > At least it would be nice to see what's necessary for a working lazarus. BTW: Can't this be integrated into the lazarus page? _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] x86_64 rpm of lazarus snapshots
Hi, From now on lazarus snapshots are also available as x86_64 rpm files. As all snapshots they are using fpc 2.1.1. They can be downloaded from: http://www.de.freepascal.org/lazarus/ http://michael-ep3.physik.uni-halle.de/Lazarus/ As you can see, this page is getting a bit full. In the future I want to provide snapshots based on a released fpc (fpc 2.0.2 for example). I would be happy, if somebody could make a new design for this page. Vincent. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Some Errors
Hi Vicent, I use Fedora Core 4, with fpc-src-2.0.2-3.fc4 fpc-doc-2.0.2-3.fc4 fpc-2.0.2-3.fc4 Instaled by yum and lazarus-0.9.12-0.i386.rpm this message is on i make a double click on button or make a double click in a onClick event. i'm whaiting. Em Segunda 13 Fevereiro 2006 10:44, Vincent Snijders escreveu: > Kleiton L R Soares wrote: > > Good Morning, > > > > I'm try use Lazarus but... > > > > i'm add a button and click on event onClick, when i make this action one > > a error message is showed to me ... > > > > "Unable to find method. Plz fix the error shown in the message window" > > in message window > > Error: unit not found:StdCtrls > > i'm remove ... and make the action again other error > > Error: unit not found:ExtCtrls > > i'm remove ... and make the action again other error > > Error: unit not found:Buttons > > > > i don't can make actions... various erros !!! somebody can help-me > > Did you get any message, when you started lazarus? > > What OS are you using? > > How did you install lazarus? > > Vincent. > > _ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject >archives at http://www.lazarus.freepascal.org/mailarchives -- --- --- Kleiton L R Soares (21-2620-0735 | 21-9639-5829) PCS - Processos Consultoria Soluções www.pcs.com.br / [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Some Errors
Kleiton L R Soares wrote: Good Morning, I'm try use Lazarus but... i'm add a button and click on event onClick, when i make this action one a error message is showed to me ... "Unable to find method. Plz fix the error shown in the message window" in message window Error: unit not found:StdCtrls i'm remove ... and make the action again other error Error: unit not found:ExtCtrls i'm remove ... and make the action again other error Error: unit not found:Buttons i don't can make actions... various erros !!! somebody can help-me Did you get any message, when you started lazarus? What OS are you using? How did you install lazarus? Vincent. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Some Errors
Good Morning, I'm try use Lazarus but... i'm add a button and click on event onClick, when i make this action one a error message is showed to me ... "Unable to find method. Plz fix the error shown in the message window" in message window Error: unit not found:StdCtrls i'm remove ... and make the action again other error Error: unit not found:ExtCtrls i'm remove ... and make the action again other error Error: unit not found:Buttons i don't can make actions... various erros !!! somebody can help-me -- --- --- Kleiton L R Soares (21-2620-0735 | 21-9639-5829) PCS - Processos Consultoria Soluções www.pcs.com.br / [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives