From: Peter T. <pet...@co...> - 2006-03-09 03:49:42
|
I recently attempted to build HOC 0.7 from the sources in the Release download, on Mac OS 10.4 (Tiger), with gcc 4.0 and ghc 6.4.1. There were many, many errors of various sorts--even after I edited the /HOC_cbits/Makefile.in, line 23, as noted by Mr. Morgan: [quote from http://sourceforge.net/mailarchive/forum.php? thread_id=8262704&forum_id=44522] > I tried building HOC from CVS using ghc 6.4.1 and gcc 4.0 (on Tiger), > but got a link error citing an undefined symbol, _fprintf$LDBLStub. > The following change to HOC_cbits/Makefile.in fixes the problem: > > 33c33 > < ld -r -x -o HOC_cbits.o $(ALL_LOAD) libHOC_cbits.a > --- > > ld -r -x -o HOC_cbits.o -lSystemStubs $(ALL_LOAD) > libHOC_cbits.a When I attempted to build HOC 0.7 from the cvs repository, after adding -lSystemStubs to /HOC_cbits/Makefile.in, everything worked perfectly. |