
On Monday 22 November 2004 21:28, Malcolm Wallace wrote:
nhc98 does not appear to use __ctype_b directly - I could not find it any name like it anywhere in the sources
Yes, it's not used directly. But I see many references to it in object files that are either inside archive [ e.g haskellInit.o that is in Runtime.a has reference to __ctype_b, to be precise the function numArg(...) seems to use it indirectly via C builtin function isdigit(...) ] or binaries. You can run "nm *" in /lib/nhc/$YOURARCHITECTURE/ directory to see many references to __ctype_b. I infact built nhc from source distribution, and tried rebuilding it, but this link error persists. I'm almost certain that very few files need to be modified ('coz not many references) to make it compatible with current glibc, but don't know the over all design of compiler so can't hack into it. Regards, -- Arunkumar S Jadhav, Masters Student, KReSIT, IIT-Bombay, India Ph: +91-22-25764967 http://www.it.iitb.ac.in/~arunk