grunwald@uiucdcsm.cs.uiuc.edu (01/13/88)
I'm having trouble establishing a libC_p.a on a Sun under SunOS3.4. I always get multiple link references to 'exit' -- it appears to pull the reference from /lib/libc_p.a as well as /lib/libC_p.a. In order to fix this, and to make the C++ exit processing be in line with the rest of the Sun OS exit processing, I was going to change libC to use the Sun 'on_exit' routine to install an exit handler. This will eliminate the 'exit' symbol from libC.a, solve my problem. So, Questions: 1) has anyone done this? If so, any problems? Care to post your solution? 2) do people want this if I do it? 3) is there some way to get CC to use _p libraries instead of the standard libraries? From a cursory glance, it doesn't seem to use them (could well be mistaken here) dirk grunwald grunwald@m.cs.uiuc.edu