Building ghc-6.4-branch on Solaris
Christian Maeder
maeder at tzi.de
Thu Jun 9 09:24:56 EDT 2005
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
More information about the Glasgow-haskell-bugs
mailing list