Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I make GHC always use some extra gcc or linker option?

extra gcc GHC Linker option
0
Posted

How can I make GHC always use some extra gcc or linker option?

0

If you want to *always* use an extra option then you can edit the package configuration for the ‘rts’ or ‘base’ package since these packages are used by every program that you compile with GHC. You might want to do this if you had installed something that ghc needs but into a non-standard directory, thus requiring special compilation or linking options. All you need to do is to dump out the configuration into a human readable form, edit it and re-register the modified package configuration.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.