Is it possible to build and compile a usual pascal programs by using Lazarus only as an ide and debugger. I dont want to use the GUI toolkit
and absolutely dont like RHIDE.

Mailing lists / lazarus / 2001-10
15 messages · 5 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Is it possible to build and compile a usual pascal programs by using Lazarus only as an ide and debugger. I dont want to use the GUI toolkit
and absolutely dont like RHIDE.
Is it possible to build and compile a usual pascal program by using Lazarus only as an ide and debugger. I dont want to use the GUI toolkit and absolutely dont like RHIDE.
I tested lazarus quickly last weekend, but it never managed to compile a program correctly. Starting with a form only results in /tmp/program.pas not found.
> I tested lazarus quickly last weekend, but it never managed to compile a program > correctly. Starting with a form only results in /tmp/program.pas not found. Probably you ceated a new project and did a build+run without saving. This is called the
'test project'. Since the codetools changed the complete file handling of the IDE I had not the time to check this feature. But I fixed it now.
Another strange things was to click on the first/second tab with the components. Then you get the load/save dialogs.
Do the codetools also support ppu files? Because for the types i tried i didn't get a list of fields
I tested lazarus quickly last weekend, but it never managed to compile a program…
Probably you ceated a new project and did a build+run without saving. This is called the 'test project'. Since the codetools changed the complete file handling of the IDE I had not the time to check this feature. But I fixed it now.
I also fixed the TRagioGroup.OnClick bug which did not update the ItemIndex.
Mattias
'test project'. Since the codetools changed the complete file handling of the IDE I had…
The same here. I also had to add OPT='-Sg' for some file while building.
Also I had to add /usr/local/lib to the search libdirs.
(unstripped it is +/- 4.5 MB)
su-2.05# ls -als lazarus
1648 -rwxr-xr-x 1 root wheel 1673164 Oct 23 12:00 lazarus su-2.05# ldd lazarus
lazarus:
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28180000) libgdk12.so.2 => /usr/X11R6/lib/libgdk12.so.2 (0x28259000) libglib12.so.3 => /usr/local/lib/libglib12.so.3 (0x2828b000) libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x282ad000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x282b5000) libm.so.2 => /usr/lib/libm.so.2 (0x282c3000)
libgtk12.so.2 => /usr/X11R6/lib/libgtk12.so.2 (0x282df000) libc.so.4 => /usr/lib/libc.so.4 (0x28407000)
libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x2849f000) libgmodule12.so.3 => /usr/local/lib/libgmodule12.so.3 (0x284a1000) libintl.so.1 => /usr/local/lib/libintl.so.1 (0x284a4000) libxpg4.so.3 => /usr/lib/libxpg4.so.3 (0x284a9000)
Is it possible to build and compile a usual pascal programs by using Lazarus only as an…
I don't see why it wouldn't be possible. Just create a new project (Project|New Project) and select "Program" as the project type.
'test project'. Since the codetools changed the complete file handling of the IDE I had…
GMT Peter Vreman wroteAnother strange things was to click on the first/second tab with the components. Then you get the load/save dialogs.
This is a known bug. The gtk sends the mouse button down event to the notebook and to the parent control with the _same_ coordinates. Therefore the lcl believes the button was pressed on one of the speed buttons. This is a bug in the gtk interface, which should filter/adjust such events, but does not yet.
Do the codetools also support ppu files? Because for the types i tried i didn't get a list of fields
Currently the codetools have only a simple pascal parser. Of course, ppu files will be eventually supported, but I don't know when. First I will implement Find Declaration, Parameter Hints and Identifier Completion (similar to Delphis Code Completion). The list of fields, you mentioned, is the box when pressing Ctrl-Space, I guess. This will become the identifier completion and is currently not working. You can use the word completion (default Ctrl+W) instead. The word completion is case insensitive, reads all open files and contains a history.
Mattias
On Tue, 23 Oct 2001 09:46:07 GMT Peter Vreman wrote: > Another strange things was to click on the first/second tab with the components. Then
you
> get the load/save dialogs. This is a known bug. The gtk sends the mouse button down event to the notebook and to
the
parent control with the _same_ coordinates. Therefore the lcl believes the button was pressed on one of the speed buttons. This is a bug in the gtk interface, which should filter/adjust such events, but does not yet.
> Do the codetools also support ppu files? Because for the types i tried i didn't get a
list
> of fields Currently the codetools have only a simple pascal parser. Of course, ppu files will be
eventually supported, but I don't know when. First I will implement Find Declaration, Parameter Hints and Identifier Completion (similar to Delphis Code Completion).
The list of fields, you mentioned, is the box when pressing Ctrl-Space, I guess. This
will
become the identifier completion and is currently not working. You can use the word completion (default Ctrl+W) instead. The word completion is case insensitive, reads all open files and contains a history.
I was expecting a box with the fieldnames after typing the . of a structure identifier. For word completion the Visual Assist editor for Visual C++ is nice. It shows already after typing 3 letters a best guess in a tooltip and pressing TAB will then already complete. The best guess is most of the time the last word you typed with that prefix. And pressing Ctrl-Space brings up the Word completion listbox, but maybe that hotkey is MS specific.
Is it possible to build and compile a usual pascal programs by using Lazarus only as an…
There was the free pascal ppc386 in brackets so I assumed it was the default. When I entered it, it solved the problem so it was not meant as the default compiler.
Another thing. After the program is built and the executable made, Lazarus cannot run the executable while the executable does execute by the usual terminal command ./project1
Lazarus looks in the correct directory but does not find the executable although it is there.
Lazarus should maybe rather execute executables by using full path.
I tried Kylix and quite bluntly it sucks. The Open Source version is just open enough to position against you but I very quickly got the "proprietary smell" and left. I think you guys have a better chance if you do not lose initiative. Good Luck.
Good IDE's are hard to come by on Linux.
On Tue, 23 Oct 2001 12:13:51 +0200 (CEST) I'm not sure. Do u have problems compiling…
I'm not sure. Do u have problems compiling lazarus or has the IDE problems to compile one of your projects? No Lazarus file should need the -Sg option, because there is no label or goto.
Lazarus, under FreeBSD.
I think /usr/local/lib should be in the default ppc386.cfg though, it is not something for Lazarus to fix.
[...]
ppc386 -gl -Fu../units -Fu/usr/local/lib/fpc/1.0.5/units/freebsd/rtl -Fu/usr/local/lib/fpc/1.0.5/units/freebsd/paszlib -Fu/usr/local/lib/fpc/1.0.5/units/freebsd/inet -Fu/usr/local/lib/fpc/1.0.5/units/freebsd/fcl -Fu/usr/local/lib/fpc/1.0.5/units/freebsd/mysql -Fu/usr/local/lib/fpc/1.0.5/units/freebsd/ibase -FE../units -FU../units -di386 allcodetoolunits.pp
memcheck.pas(695,3) Error: GOTO and LABEL are not supported (use switch -Sg)
memcheck.pas(698,5) Error: GOTO and LABEL are not supported (use switch -Sg)
memcheck.pas(756,13) Error: GOTO and LABEL are not supported (use switch -Sg)
memcheck.pas(784,11) Error: GOTO and LABEL are not supported (use switch -Sg)
memcheck.pas(1019) Fatal: There were 4 errors compiling module, stoppingfind . |grep memcheck
./components/codetools/memcheck.pas
On Tue, 23 Oct 2001 12:13:51 +0200 (CEST) I'm not sure. Do u have problems compiling…
Lazarus, under FreeBSD. I think /usr/local/lib should be in the default ppc386.cfg though, it is not something for Lazarus to fix.
ok
Oh, Ah. :* fixed. thx.
Mattias
Is it possible to build and compile a usual pascal programs by using Lazarus only as an…
Done that, but I just get the error message
Error: a directory component in "" does not exist or is a dangling symlink.
Anybody an idea.
'test project'. Since the codetools changed the complete file handling of the IDE I had…
The same here. I also had to add OPT='-Sg' for some file while building. Also I had to add /usr/local/lib to the search libdirs.
I'm not sure. Do u have problems compiling lazarus or has the IDE problems to compile one of your projects? No Lazarus file should need the -Sg option, because there is no label or goto.
Mattias
you the parent control with the _same_ coordinates. Therefore the lcl believes the button…
GMT Peter Vreman wroteI was expecting a box with the fieldnames after typing the . of a structure identifier.
This will be called "Identifier Completion" and the default key is Ctrl+Space. You can redefine other keys in the editor options. The identifer completion will look for all visible variables, types and consts and sort them for compatibility. This feature requires an "enhanced find declaration", which I hope is available in a few weeks. But I'm currently busy with the clipboard.
You can define the key for Word completion on Ctrl+Space. When you typed some letters, press Ctrl+Space. If the prefix is unambigious the word will be completed, if not all words with the prefix will be shown. The only missing behaviour is the "automatic" word completion after 3 letters. Maybe this could be added.
Mattias