The ./configure command used by a lot of unix programs can list the options and possible values for them. Do the make commands for Lazarus and FPC have such an option?
Mailing lists / fpc-pascal / 2015-03
Do the make commands have a way of listing the options and possible values for them?
6 messages · 4 people · –
- Vvfclists . 3
- JJonas Maebe 1
- MMark Morgan Lloyd 1
- TTomas Hajny 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
vfclists . wrote on Tue, 31 Mar 2015:
The ./configure command used by a lot of unix programs can list the options and possible values for them.
Note that ./configure can only do this if someone explicitly added information about all of those options to the help text of a particular configure script.
Do the make commands for Lazarus and FPC have such an option?
No, nobody has written such a help text for the FPC or Lazarus makefiles. There is some information in the documentation, but it hasn't been updated in a long time and is both incomplete and largely out of date.
Jonas
Jonas Maebe wrote 17 lines
For completeness - "make help" is supported for at least both the fpcbuild and fpc Makefiles, but their content is limited to listing the Makefile targets (and even that it somewhat outdated these days) and it does not include any information about additional options modifying the overall behaviour.
Tomas
vfclists . wrote on Tue, 31 Mar 2015: Note that ./configure can only do this if someone…
Jonas Maebe wrote 22 lines
Is it possible to work them out from studying the Makefile itself?
vfclists . wrote 30 lines
A thought just occurred to me. Do some of the fpcup options correspond exactly to the options used by the make commands?
For completeness - "make help" is supported for at least both the fpcbuild and fpc…
Tomas Hajny wrote 21 lines
If anybody works on this please could they link to 24789 on Mantis which is sitting there unassigned.
