*BSD News Article 7174


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!think.com!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!ljo
From: ljo@r2d2.eeap.cwru.edu (L. Jonas Olsson)
Newsgroups: comp.unix.bsd
Subject: [386BSD,bsdi?] gcc-2.2.2 patches fix
Date: 29 Oct 1992 03:44:56 GMT
Organization: Case Western Reserve Univ. Cleveland, Ohio (USA)
Lines: 18
Message-ID: <1cnmnoINNs6b@usenet.INS.CWRU.Edu>
NNTP-Posting-Host: johnny5.eeap.cwru.edu

In the patches I for gcc-2.2.2 I posted earlier I have found one problem.
I did not define HAVE_ATEXIT in the i386bsd.h file, this results in
the _mcleanup function not beeing called when profiling code. If you're
not planning to profile and program this can be ignored.

The patch is simply to add the line:

#define HAVE_ATEXIT

to your config file (config/i386bsd.h)

As the patches originally are for bsdi and I asume that they also
have atexit, the patch is probably relevant for bsdi also.

	Jonas
	ljo@po.cwru.edu

P.S. the patches I posted looked cut off at the end, but they did include