Bug in ghc-pkg on SunOS

Koen Claessen koen at cs.chalmers.se
Mon Sep 9 10:36:23 EDT 2002


I am using ghc-pkg on SunOS4 and get the following behavior
when using 'ghc-pkg -g':

>>>
ld: illegal option -- x
ld: illegal option -- -
ld: illegal option -- w
ld: illegal option -- x
ld: illegal option -- -
ld: illegal option -- w
<<<

My guess is that it is trying to build a .o file from a .a
file by using strange flags not recognized by the SunOS
version of ld.

I would be very interested in knowing what these flags
should be. Simply saying '-r' does not work in any case.

/Koen.




More information about the Glasgow-haskell-bugs mailing list