Linker error while building statically-linked wxHaskell application

I am trying to statically link a wxHaskell Windows application using this ghc -static -optl-static flag. But ld.exe returns a linker error

c:/program files/haskell platform/2014.2.0.0/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxc
collect2: ld returned 1 exit status

I seemingly can’t find lwxc in my system anywhere. Is there anything that I can do?


Source: gcc

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.