logo       

Re: Compiling from CVS on Sparc/Solaris: msg#00040

lang.haskell.glasgow.bugs

Subject: Re: Compiling from CVS on Sparc/Solaris

Simon Marlow wrote:

On 18 October 2004 18:29, Ulf Norell wrote:

A less machine dependent problem is that the configure script seems
to ignore the CPPFLAGS and LDFLAGS environment variables. In my mind,
a reasonable thing
would be to add these to SRC_CC_OPTS. My proposed fix is to change
line 820 of configure.ac to

SRC_CC_OPTS="-O $CPPFLAGS $LDFLAGS"

It's not quite that simple. Should these flags be passed to
compilations of .hc code by GHC itself? What about C compilations
performed by GHC? On the host or target platform or both? Since there
are complex issues here, we prefer not to pass these flags at all and
force the user to think about exactly what they mean.

Fair enough... The problem I'm having (which my proposed fix did in fact
not solve) is that my readline libraries are in a non-standard location.
Currently the final linking of stage1/ghc-6.2.2 (in this case) dies
complaining about not finding -lreadline. What is the right way of letting
ghc know where to look?

/ Ulf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise