
On Sat, Apr 27, 2013 at 11:47 AM, David Banas
dbanas@dbanas-lap:~/prj/AMI-Tool$ make rm -f libami.so ghc -o libami.so -shared -dynamic -package parsec -lHSrts -lm -lffi -lrt AMIParse.o AMIModel.o ami_model.o ExmplUsrModel.o Filter.o dbanas@dbanas-lap:~/prj/AMI-Tool$
However, I'm a little confused as to why the "-package parsec" isn't triggering the same issue, since the parsec dynamic libraries were given the same "-ghc7.4.2" suffix:
That would be because the parsec library contains the correct invocation already, but above you are telling the linker to look for libHSrts.{so,a} with the explicit -l option. You would need to change it to ```-lHSrts-ghc7.4.2```. Perhaps ghc needs an option to include the correct runtime support libraries in this case; certainly, having to specify all of those in the build command is ugly and fragile even without mangled shared object names. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net