On Wed, Aug 27, 2008 at 10:20:10PM +0200, Matthias Kilian wrote:
> ("/usr/bin/ld",["-Xlinker","-E","-x","-r","/tmp/5110.o","-o","/tmp/5111.o"])
> /usr/bin/ld returned ExitFailure 1 with error message:
> /usr/bin/ld: cannot find -linker
> cabal-bin: /tmp/5111.o: removeFile: does not exist (No such file or directory)
> 
> The "-Xlinker -E" comes from compiler/Makefile, and is explicitely
> set for OpenBSD. [...]

It's because gcc isn't used for linking any longer, so the OpenBSD
specific bit should just be

COMMON_CONFIGURE_FLAGS += --ld-options=-E

I'll try this now. Sorry for the noise.

Ciao,
        Kili

-- 
C programmers never die. They're just cast into void.

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to