
22 Apr
2008
22 Apr
'08
3:03 a.m.
| > The GHC API is behaving just like --make: it links the program if you | > have a Main module. To ask it not to link, you want to do the same as | > '--make -c', which in the GHC API means setting the ghcLink field of | > DynFlags to NoLink. | | Thanks, this has solved the problem I was having. I wonder whether it | would be a good idea to amend the Wiki page to relect this? I think it is | reasonable to assume that other users are going to want to use the API | against Main modules and it's possibly not too clear at the moment how to | do this. Yes I do, please! Would you feel up to doing so? I'm sure Simon'd check your text for veracity! thanks Simon