Packages in a gcc build of nhc98

Hi, When building nhc98 using gcc on Mac OS X, none of the packages are built. However, when building using ghc as a compiler, the packages are built. When bootstrapping from gcc, is it necessary to rebuild the system using the newly generated nhc98? The documentation is seems to be silent on this. Best Wishes, Greg

Gregory Wright
When building nhc98 using gcc on Mac OS X, none of the packages are built.
I'm pretty sure that the library packages /are/ built when bootstrapping from .hc files. (See toplevel Makefile, build target libraries-$(CC), and the rule for 'fromC' target in src/libraries/Makefile.common.) The resulting archives certainly seem to be there in my nightly builds. Oh, now I see what the problem is. The object files are installed, but the .hi interface files are not! Oops. Looks like I need to add them to the download. I've placed an additional tarfile on the FTP site, containing just the .hi files, linked to from here: http://haskell.org/nhc98/download.html You should be able to unpack it over the top of the main distribution.
When bootstrapping from gcc, is it necessary to rebuild the system using the newly generated nhc98? The documentation is seems to be silent on this.
No, it should not be necessary. I only know of one platform-specific module that needs to be rebuilt on the target platform after bootstrapping (NHC.DErrNo), and it is dealt with by the normal build process. Regards, Malcolm
participants (2)
-
Gregory Wright
-
Malcolm Wallace