Try wrapping everything in a toolchain, as defined in (gnu packages commencement). Then you'll have the ld-wrapper you need and everything
(define-public gm2-toolchain
(make-gcc-toolchain gm2))
or even
(define-public gm2-toolchain
(package
(inherit (make-gcc-toolchain gm2))
(synopsis (package-synopsis gm2))
(description (package-description gm2))))
--
Efraim Flashner <[email protected]> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature
