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?
Unfortunately we have that:
so I suggest to remove binutils-gold and stay with binutils.
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
on an empty line to /etc/fpc.cfg (some debian and ubuntu versions have a /etc/fpc.d hierarchy for FPC configs)