logo       

Re: Building ghc-6.4-branch on Solaris: msg#00020

lang.haskell.glasgow.bugs

Subject: Re: Building ghc-6.4-branch on Solaris

Axel Simon wrote:
> gcc -O -Wall -I../../../ghc/includes -I../../../ghc/rts
> -I/core/include -c env.c -o env.p_o
> cc1: /core/include: Not a directory

My gcc does not complain about that missing directory. I was able to
create a working installation under solaris with:

./configure --disable-opengl --disable-glut --disable-openal

>
> The directory /core/include doesn't exist, what the makefile says is
>
> ./hslibs/posix/cbits/Makefile: -I$(GHC_LIB_DIR)/core/include
>
> however, I can't find GHC_LIB_DIR in any of the config files. Is it
> dead?

I have the same situation and it was no problem. But I cannot answer
your question about GHC_LIB_DIR.

Christian

P.S.

if I compile the ghc without "SplitObjs=NO" in mk/build.mk I get
annoying but probably harmless warnings during compilations:

Warning: retaining unknown function `getpwuid_r' in output from C compiler
Warning: retaining unknown function `getpwnam_r' in output from C compiler
Warning: retaining unknown function `getgrgid_r' in output from C compiler
Warning: retaining unknown function `getgrnam_r' in output from C compiler


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

News | FAQ | advertise