Recent

Author Topic: Is Lazarus still serious ?  (Read 11451 times)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12561
  • Debugger - SynEdit - and more
    • wiki
Re: Is Lazarus still serious ?
« Reply #30 on: July 16, 2025, 01:04:08 pm »
Can you answer a question I haven't been able to answer? Where do I set the location of fpc.cfg in a Lazarus installation (in my case, Linux)? I have an installation and would like to change the location of fpc.cfg. Where should it be set?

Thanks.

Off, topic to the original question. So maybe - if there is more on it - open a new thread.

I don't think you can. There isn't a dedicated setting for it. You have to tell FPC by passing custom argument to it (project options,  custom options).

The only thing I could find https://www.freepascal.org/docs-html/user/userap1.html
Using "@" to specify an additional fpc.cfg. But that does not replace the original? (Don't know)

The alternative is what fpcupdeluxe afaik does: create a script that calls fpc with that argument, then use that script as your compiler. (it needs to pass on all arguments that it receives)

ccrause

  • Hero Member
  • *****
  • Posts: 1121
Re: Is Lazarus still serious ?
« Reply #31 on: July 16, 2025, 01:20:49 pm »
Can you answer a question I haven't been able to answer? Where do I set the location of fpc.cfg in a Lazarus installation (in my case, Linux)? I have an installation and would like to change the location of fpc.cfg. Where should it be set?

The only thing I could find https://www.freepascal.org/docs-html/user/userap1.html
Using "@" to specify an additional fpc.cfg. But that does not replace the original? (Don't know)

Use the -n compiler command line option to not read the default config file.

ginoo

  • Full Member
  • ***
  • Posts: 166
Re: Is Lazarus still serious ?
« Reply #32 on: July 16, 2025, 01:33:47 pm »
Can you answer a question I haven't been able to answer? Where do I set the location of fpc.cfg in a Lazarus installation (in my case, Linux)? I have an installation and would like to change the location of fpc.cfg. Where should it be set?

Thanks.

Off, topic to the original question. So maybe - if there is more on it - open a new thread.

I don't think you can. There isn't a dedicated setting for it. You have to tell FPC by passing custom argument to it (project options,  custom options).

The only thing I could find https://www.freepascal.org/docs-html/user/userap1.html
Using "@" to specify an additional fpc.cfg. But that does not replace the original? (Don't know)

The alternative is what fpcupdeluxe afaik does: create a script that calls fpc with that argument, then use that script as your compiler. (it needs to pass on all arguments that it receives)

I actually saw fpcupdeluxe and was wondering how to do it because it's sometimes useful.

Thaddy

  • Hero Member
  • *****
  • Posts: 19495
  • Glad to be alive.
Re: Is Lazarus still serious ?
« Reply #33 on: July 16, 2025, 05:10:53 pm »
Yes it is very useful.
A lesser known feature is that the website also contains build scripts for if you do not want to use fpcupdeluxe itself.
Any "programmer" that knows only one programming language is not a programmer

ginoo

  • Full Member
  • ***
  • Posts: 166
Re: Is Lazarus still serious ?
« Reply #34 on: July 20, 2025, 02:17:13 pm »
Yes it is very useful.
A lesser known feature is that the website also contains build scripts for if you do not want to use fpcupdeluxe itself.

thanks I'll go and take a look

MaxCuriosus

  • Full Member
  • ***
  • Posts: 145
Re: Is Lazarus still serious ?
« Reply #35 on: July 27, 2025, 10:43:51 pm »
I'm late to the party but ... please take a look at my thread
https://forum.lazarus.freepascal.org/index.php/topic,71873.0.html

 

TinyPortal © 2005-2018