Recent

Author Topic: "Show Compiler Dialog"  (Read 685 times)

carl_caulkett

  • Sr. Member
  • ****
  • Posts: 450
"Show Compiler Dialog"
« on: September 16, 2024, 11:19:37 pm »
The wlki at https://wiki.freepascal.org/IDE_Window:_Environment_Options talks about there being an option to enable the "Show Compiler Dialog".

I've looked in Settings -> Environment -> Files as the wiki suggests and I cannot see it anywhere. Is this a case of the docs not keeping in sync with the actual software?
"It builds... ship it!"

dsiders

  • Hero Member
  • *****
  • Posts: 1246
Re: "Show Compiler Dialog"
« Reply #1 on: September 16, 2024, 11:56:42 pm »
The wlki at https://wiki.freepascal.org/IDE_Window:_Environment_Options talks about there being an option to enable the "Show Compiler Dialog".

I've looked in Settings -> Environment -> Files as the wiki suggests and I cannot see it anywhere. Is this a case of the docs not keeping in sync with the actual software?

You can set specific compiler options in Project > Project Options > Compiler Options. There is a button at the bottom of Project Options captioned "Show Options".

It is not on the IDE Options dialog; compiler options are per project.

And, on the referenced wiki page, I see no mention of "Show Compiler Dialog".



« Last Edit: September 17, 2024, 12:10:10 am by dsiders »
Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4519
  • I like bugs.
Re: "Show Compiler Dialog"
« Reply #2 on: September 17, 2024, 03:01:39 am »
It is "Show compile dialog".
Yes the Wiki information is outdated. There was such a floating window a long time ago. It was removed when the compilation of packages became parallel with threads. Updating the progress information from many threads is challenging and the window was removed.
If somebody finds a way to restore it, great. A patch implementing it would be accepted for sure.

The Wiki page for env. Options has other errors, too. Settings have been renamed and moved around.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

carl_caulkett

  • Sr. Member
  • ****
  • Posts: 450
Re: "Show Compiler Dialog"
« Reply #3 on: September 17, 2024, 01:18:29 pm »
And, on the referenced wiki page, I see no mention of "Show Compiler Dialog".

This is what I'm looking at...

"It builds... ship it!"

carl_caulkett

  • Sr. Member
  • ****
  • Posts: 450
Re: "Show Compiler Dialog"
« Reply #4 on: September 17, 2024, 01:27:41 pm »
You can set specific compiler options in Project > Project Options > Compiler Options. There is a button at the bottom of Project Options captioned "Show Options".

It is not on the IDE Options dialog; compiler options are per project.

I cannot see it! Could the fact that I am running Lazarus under macOS make any difference?

"It builds... ship it!"

MarkMLl

  • Hero Member
  • *****
  • Posts: 7684
Re: "Show Compiler Dialog"
« Reply #5 on: September 17, 2024, 02:10:48 pm »
There is a button at the bottom of Project Options captioned "Show Options".

I cannot see it! Could the fact that I am running Lazarus under macOS make any difference?

Button at the bottom of your screenshot. I mentioned that yesterday.

However in this specific case I'm not sure it's what you're asking for.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

carl_caulkett

  • Sr. Member
  • ****
  • Posts: 450
Re: "Show Compiler Dialog"
« Reply #6 on: September 18, 2024, 12:37:57 am »
Button at the bottom of your screenshot. I mentioned that yesterday.

However in this specific case I'm not sure it's what you're asking for.

MarkMLl

Sorry! I was looking for a button specifically marked as "Show Compiler Progress". I didn't realise that you meant the 'Show Options" dialog. Put it down to a classic case of only seeing (or not seeing) what I wanted to see.

That then begs the question, what "-XX' switch is needed in the show options to enable the display of the "compiler progress"?
"It builds... ship it!"

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4519
  • I like bugs.
Re: "Show Compiler Dialog"
« Reply #7 on: September 18, 2024, 02:04:04 am »
That then begs the question, what "-XX' switch is needed in the show options to enable the display of the "compiler progress"?
See my reply above.
Now only the Messages window show compiler progress. It also updates the parallel package compilations correctly in their subtrees.
« Last Edit: September 18, 2024, 02:08:56 am by JuhaManninen »
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

MarkMLl

  • Hero Member
  • *****
  • Posts: 7684
Re: "Show Compiler Dialog"
« Reply #8 on: September 18, 2024, 08:31:20 am »
Sorry! I was looking for a button specifically marked as "Show Compiler Progress". I didn't realise that you meant the 'Show Options" dialog. Put it down to a classic case of only seeing (or not seeing) what I wanted to see.

That then begs the question, what "-XX' switch is needed in the show options to enable the display of the "compiler progress"?

Yes, I could see that the question had got split unintentionally.

However as far as -XX options go: by and large those will be for controlling the compiler (etc.) i.e. commandline-oriented tools, while what you're looking for is a way of telling the IDE to show you everything the compiler is doing. See Juha's answer, BUT I can't check it since (again) you've not put your IDE version in the body of your question and I'm not sure I'm on the same one.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Zvoni

  • Hero Member
  • *****
  • Posts: 2691
Re: "Show Compiler Dialog"
« Reply #9 on: September 18, 2024, 08:37:29 am »
Is this a case of the docs not keeping in sync with the actual software?
Wiki <> Documentation
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad

carl_caulkett

  • Sr. Member
  • ****
  • Posts: 450
Re: "Show Compiler Dialog"
« Reply #10 on: September 18, 2024, 10:15:57 am »
Sorry! I was looking for a button specifically marked as "Show Compiler Progress". I didn't realise that you meant the 'Show Options" dialog. Put it down to a classic case of only seeing (or not seeing) what I wanted to see.

That then begs the question, what "-XX' switch is needed in the show options to enable the display of the "compiler progress"?

Yes, I could see that the question had got split unintentionally.

However as far as -XX options go: by and large those will be for controlling the compiler (etc.) i.e. commandline-oriented tools, while what you're looking for is a way of telling the IDE to show you everything the compiler is doing. See Juha's answer, BUT I can't check it since (again) you've not put your IDE version in the body of your question and I'm not sure I'm on the same one.

MarkMLl

Sorry! It was late and I was pretty cheesed off by this stage ;)

I'm using the following...
* Mac Mini M1 (silicon)
* macOS 14.6.1
* Lazarus 3.4
* FPC 3.2.2
"It builds... ship it!"

MarkMLl

  • Hero Member
  • *****
  • Posts: 7684
Re: "Show Compiler Dialog"
« Reply #11 on: September 18, 2024, 10:21:49 am »
Sorry! It was late and I was pretty cheesed off by this stage ;)

I'm using the following...
* Mac Mini M1 (silicon)
* macOS 14.6.1
* Lazarus 3.4
* FPC 3.2.2

Happens :-)

It would be fair to add at this point that there are a few commandline options which can get passed to Lazarus (as distinct from the underlying compiler), of which about the only one you're likely to need is --primary-config-path= or --pcp if you're running multiple versions and want to keep them separate. These do become much more significant if you try to rebuild the IDE using lazbuild, but that's somewhere that even the geekier amongst us fear to tread.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018