Hi, You probably already know this, but...it seems $(BUILD)/ghc/rts/gmp isn't included in the -L list for linking, which means 'ld' can't find libgmp.a . -- Nick Nethercote njn25 at cam.ac.uk