"Alastair Reid" <[EMAIL PROTECTED]> wrote, > > * specifying libraries in the source isn't the right way to > > go. Library names change independently of APIs, and can be > > platform-specific. > > I like the high level goal this is heading towards and was in complete > agreement with implementing it in rules like this until.... I realised that > all that Hugs sees is the source (i.e., there's no makefile to put extra > compilation info into) - so if it ain't in the source, where is it? Command line options passed to Hugs on startup, or possibly with :set. The former can be used to code the startup of Hugs including the correct options in a Makefile or shell script. (That's how I started doing it with GHCi - works fine.) As I have explained in an earlier message, putting libraries into the source just isn't going to work in all cases - eg, it won't work for Gtk+HS, because GTK+ wants you to execute a shell script (gtk-config) to determine the libraries. This is easy to do in a Makefile or script, but impossible in the source. Cheers, Manuel _______________________________________________ FFI mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/ffi
- RE: Summary of current change suggestio... Manuel M. T. Chakravarty
- RE: Summary of current change sugge... Alastair Reid
- Re: Summary of current change s... Marcin 'Qrczak' Kowalczyk
- RE: Summary of current change s... Manuel M. T. Chakravarty
- RE: Summary of current change suggestions Alastair Reid
- RE: Summary of current change suggestio... Manuel M. T. Chakravarty
- Re: Summary of current change suggestio... Marcin 'Qrczak' Kowalczyk
- RE: Summary of current change suggestions Simon Marlow
- RE: Summary of current change suggestions Manuel M. T. Chakravarty
- RE: Summary of current change suggestions Alastair Reid
- RE: Summary of current change suggestio... Manuel M. T. Chakravarty
- RE: Summary of current change suggestions Simon Peyton-Jones
- RE: Summary of current change suggestions Marcin 'Qrczak' Kowalczyk
- RE: Summary of current change suggestions Simon Marlow
- RE: Summary of current change suggestions Marcin 'Qrczak' Kowalczyk
- RE: Summary of current change suggestions Manuel M. T. Chakravarty
- RE: Summary of current change suggestions Simon Marlow
- RE: Summary of current change suggestions Simon Marlow
- Re: Summary of current change suggestions Marcin 'Qrczak' Kowalczyk
- Re: Summary of current change suggestio... Fergus Henderson
- Re: Summary of current change sugge... Marcin 'Qrczak' Kowalczyk