| | 238 | UPDATE: I touched all of those files and it built. No idea if it will work in the end though, that one GHC/PrimopWrappers file in particular is worrying. |
| | 239 | |
| | 240 | === Back on the Target Machine === |
| | 241 | |
| | 242 | ==== libffi and libgmp again ==== |
| | 243 | |
| | 244 | Need to compile these on the target too, and again put the two ffi*.h files in one of the include directories searched by the GHC build process (I used /usr/include). |
| | 245 | |
| | 246 | ==== Apparently I need a GHC already running? ==== |
| | 247 | |
| | 248 | I unpack the hc-file distribution, and then manually step through the actions of distrib/hc-build. The line to make the libraries fails, ultimately because $(GHC) is empty. Unsurprising, since we don't have a GHC for the target yet. So I built compiler/ first, in defiance of the script. It failed too, late in the process, because it couldn't find -lHSregex-compat. Since this seems to be part of libraries/, I'm at a catch-22. |
| | 249 | |
| | 250 | |