[fpc-pascal] What to do to get new users

Martin Frb lazarus at mfriebe.de
Wed Oct 16 15:54:20 CEST 2024


On 16/10/2024 15:29, Rainer Stratmann via fpc-pascal wrote:
> Am Mittwoch, 16. Oktober 2024, 11:20:35 CEST schrieb Martin Frb via fpc-
> pascal:
>> If it is cross compiling (using same compiler version), and if the
>> compiler is installed (as cross compiler):
>> Project Options > Compiler opts > Config and Target
> But there is not the compiler itself. If you have different targets (for
> example i386 and avr embedded) I think you need different fpc compiler
> versions.
Define "Compiler".

You use one and the same fpc.exe.

But you need a different ppc____.exe. All those ppc live in the same 
folder. And they are all called by the same fpc.exe, depending on the 
options given to that fpc.exe.

Of course, for that they must be installed as cross compilers. So they 
also share the fpc.cfg. But the all have their own ppu and o files.


>> You mean the editor toolbar?
>> I don't know if it has ever been discussed, if/what the default config
>> for it should be.
> http://85.114.142.209:18080/uploads/x_Lazarus_with_icons.png
Yeah, editor toolbar => you get that name, if you click the "configure" 
option. The toolbar can be on top or bottom.

> What you can see here at the bottom is what I called shortcut Icons.
> If you want to compile the whole project you simply click on the button
> instead of searching it in the menu. That is one step to make it easier for
> all kinds of users.
Generally a matter of personal preference. I use a key combo, For me the 
toolbar is lost screen space.

But, I don't say my preference has to be the defining one. Since it can 
be disabled, IMHO it may be there to start with.
As for which buttons should be on there by default, I have only a basic 
opinion (since I don't use it).

But for people using toolbars, there is (both can be configured)
- the "IDE coolbar" (toolbar in the main IDE window, where the menu is)
- "Editor toolbar"

Since you can have many editor windows open, and each of them shows you 
the same "editor toolbar", IMHO that toolbar should have (as default) 
only buttons relating to the current editor (or the editor window / the 
tabs in the editor window).
https://pasteboard.co/8CdEFiy4cZiy.png has 3 editor windows => 3 times 
the toolbar (not much on it in my case, but that is not the point)

Functions such as "compile the whole project" don't relate to a single 
Editor. Showing them multiply times (for each editor window) is imho not 
a proper default.

But of course fine for anyone who likes it.

> https://wiki.lazarus.freepascal.org/Screenshots
> Look at all this screenshots. This userfriendly icons are configured nowhere. I
> did not see them by now.
>

Well, I am not against having them visible as default. Or having a 
different set of them.
Though I don't call that decision on my own.

- Find out on the Lazarus list (or bug tracker), what would be accepted
- Within that, provide a patch. Or try to find someone who will.

That is how change happens.




More information about the fpc-pascal mailing list