Recent

Author Topic: Target OS, CPU family and Processor - filtering issue  (Read 1641 times)

process_1

  • Guest
Target OS, CPU family and Processor - filtering issue
« on: July 24, 2020, 12:44:40 pm »
This is not a question, but suggestion, probably easy to implement.

What set Target OS, CPU family in IDE regardless what is chosen show, is simply full list of all it have. For instance, if choose Embedded or even Atari OS, listed CPU family is as well x64-86 etc, which of course have no sense at all.

Target processor is filtered properly, according to CPU family. Only CPU family should be filtered properly regarding Target OS.
« Last Edit: July 24, 2020, 01:10:23 pm by process_1 »

PascalDragon

  • Hero Member
  • *****
  • Posts: 5469
  • Compiler Developer
Re: Target OS, CPU family and Processor - filtering issue
« Reply #1 on: July 24, 2020, 01:36:33 pm »
The compiler is CPU based. So if some restriction is made it would only make sense to restrict the OS list based on the selected CPU, because there the IDE can query the compiler for the supported targets (fpc -it) otherwise this would require FPC devs that add a new processor architecture to adjust the Lazarus IDE as well if they want to test cross compilation from within the IDE. And if a fixed list is used (instead of querying the compiler) then FPC devs would need to do this for any new target.

 

TinyPortal © 2005-2018