-static

Wolfgang Thaller wolfgang.thaller at gmx.net
Tue Mar 9 01:04:59 EST 2004


>>> What platform?  Does everything work if you remove the -static?
>>
>> alpha, powerpc and hppa so far. I expect the same will happen for mips
>> and mipsel.
>>
>> If, on powerpc, I run the final link command without -static
>> (that's the
>> only place it should make a difference, right?) then it links without
>> warnings and looks to be working fine. I haven't looked at the others
>> yet.
>
> Wolfgang: can -static be removed on powerpc as far as you know?

On powerpc-darwin, GHC has always passed -dynamic to the linker 
(otherwise, nothing would work at all). So I assume this is on 
powerpc-linux? If so, I don't see why the PPC should be any different 
from Intel in this respect. I cant test it now, but maybe I'll get 
around to having a short look at it tomorrow.

Cheers,

Wolfgang




More information about the Glasgow-haskell-users mailing list