3

I develop in Haskell privatly, but for school I have to use Delphi (I am allowed to use Lazarus though). To speed up linking in GHC (The compiler for Haskell) I installed binutilus-gold. But now, when I try to install lazarus, I get a conflicting package: binutils-gold. Does anybody knows, how to install both at the same time?

Thomas Ward
  • 78,878
FUZxxl
  • 1,503

2 Answers2

2

Unfortunately we have that:

  • lazarus depends on lazarus-ide
  • lazarus-ide depends on fp-compiler
  • fp-compiler conflicts with binutils-gold

so I suggest to remove binutils-gold and stay with binutils.

enzotib
  • 96,093
0

I don't know much about Ubuntu package policies, but the search for "ld" of Free Pascal can be overriden using the -XP parameter.

The -XP parameter specifies a prefix that prefixes all calls to binutils with this prefix, and can be added to FPC's fpc.cfg to make it a default.

If you want to have the gold utils default, just create symlinks to say binutils-ld binutils-as binutils-ar etc somewhere in the $PATH and add

-XPbinutils-  

on an empty line to /etc/fpc.cfg (some debian and ubuntu versions have a /etc/fpc.d hierarchy for FPC configs)