[fpc-pascal] What to do to get new users
Martin Frb
lazarus at mfriebe.de
Wed Oct 16 18:27:19 CEST 2024
On 16/10/2024 18:06, Rainer Stratmann via fpc-pascal wrote:
> Am Mittwoch, 16. Oktober 2024, 15:54:20 CEST schrieb Martin Frb via fpc-
> pascal:
>> 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.
> That means fpc.exe calls another (more specific) compiler?
Yes.
You can directly configure ppc___.exe instead. But there is rarely a
benefit in it.
Btw, on your initial statement: You can also set a completely different
compiler (e.g. diff version) in the project options. Under "Compiler
commands", in the edit "Compiler", which is preset to "$(CompPath)" //
Which despite it names returns the exe
https://wiki.freepascal.org/IDE_Macros_in_paths_and_filenames#Paths_and_Parts
>> Yeah, editor toolbar => you get that name, if you click the "configure"
>> option. The toolbar can be on top or bottom.
> However, this has to be done from scratch every time you install Lazarus
> instead of having it in the basic installation.
That sounds like a bug to me. Unless you mean a really new install, not
an upgrade?
I have not tested this one (as I do not use it), but normally, if you
upgrade the config is kept (in your primary conf dir / default ~/.lazarus ).
>> Generally a matter of personal preference. I use a key combo, For me the
>> toolbar is lost screen space.
> Then may be a simple turn on/off toolbar button (I hope it is not a lost screen
> space for you :-) ) would make sense.
The option already exists. In Tools > options > Editor toolbar.
Hence, I said its no issue for me if it is there by default.
Actually: I just checked the released 3.6 => and the Toolbar is shown by
default.
It just comes with only 2 buttons, but as I said, I am not opposed to an
other preset, but you need to see what others in the team think. So
Lazarus mail list, or bug report.
>> 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).
> I think the buttons on my little mentioned screenshot are useful for all
> (beginners and experts). And next to it a shortcut icon to the edit of the
> toolbar.
http://85.114.142.209:18080/uploads/x_Lazarus_with_icons.png
They look like edit command => Though I am not sure what the gears are....
My personal concern was from your statement:
> If you want to compile the whole project you simply click on the button
> instead of searching it in the menu.
IMHO, that should be in the cool-bar => the global toolbar below the menu. It doesn't relate to any particular editor.
See the quote of mine at the very bottom of this mail.
> Edit of the toolbar is already possible with a right button click.
> Better would be an explicit button so that this is more obvious.
So is the coolbar (well don't know about right click, but in the options)
>> 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.
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20241016/83f1985e/attachment.htm>
More information about the fpc-pascal
mailing list