RE: problems building on Solaris

"herington, dean" <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
> -----Original Message-----
> From: Alastair Reid [mailto:[email protected]] 
> Sent: Tuesday, June 01, 2004 10:27 AM
> To: herington, dean
> Subject: Re: [Hugs-bugs] problems building on Solaris
> 
> 
> It looks as though you want to use one of:
> 
>   '-r'
> or
>   '-Dy -G'
> 
> I think both of these are equally likely to work.  Hugs needs 
> something it can 
> load with dlopen and one part of the page says this means it 
> must be a shared 
> library (so use -Dy -G) but Sigbjorn Finne used to strongly 
> believe that all 
> that was wanted was a relocatable object file (so use -r).

'-r' is what configure chose, but it didn't work for me.
'-dy -G' (note: lower-case 'd') did work!  Thanks!

> 
> Other flags you might play with are:
> 
>   -z combreloc
>     Make loading a little faster.
> 
>   -z defs
>     I think this would catch errors sooner.
> 
> but I don't think they will improve the chances of it 
> working, so try -r and 
> '-dy -G' first.
> 
> --
> Alastair
> 
> ps The problem is not Hugs+Solaris but Hugs+SunOS ld (instead 
> of gcc ld).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.