> On Apr 26, 2014, at 7:41, Jessica Hamilton <[email protected]> 
> wrote:
> 
> Hi,
> 
> I seem to have managed to build a cross-compiler for Haiku, but am having 
> trouble installing it. Possibly I'm missing something during the build, which 
> didn't get pointed out to me at the time.
> 
> On the Linux host, the build was basically:
> export PATH=$PATH:/path/to/haiku/gcc4/cross-compiler
> ./configure --target=i586-pc-haiku --enable-unregisterised --prefix=/opt
> make
> make binary-dist
> 
> In Haiku, after editing configure to set GHC_PWD=pwd (the bundled ghc_pwd is 
> built for the host, not the target...), that part seems to go well. But in 
> make install I get the following errors/output:
> 
> > ./configure --prefix=/boot/home/config/non-packaged
> ....
> Configuration done, ready to 'make install'
> 
> > make install
> make -r --no-print-directory -f ghc.mk install BINDIST=YES NO_INCLUDE_DEPS=YES
> ghc.mk:680: libraries/old-time/ghc.mk: No such file or directory
> ghc.mk:680: libraries/haskell98/ghc.mk: No such file or directory
> ghc.mk:680: libraries/haskell2010/ghc.mk: No such file or directory
> make[1]: *** No rule to make target `libraries/haskell2010/ghc.mk'.  Stop.
> make: *** [install] Error 2
> 
> I presume those are the standard libraries it's trying to install?
> 
> Jessica

Hi Jessica:

I think that can happen if the source tree isn't "booted".

Did you run `./sync-all --no-dph get && perl boot` on the Haiku target system?  
(this might not be necessary with bindist, so I'm guessing)

It would be really cool to have GHC for Haiku.

Best,
Alain
_______________________________________________
ghc-devs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to