Article View: comp.sources.bugs
Article #23tcsh problemw when compiling with gcc 2.1
From: Michael Salmon
Date: Tue, 07 Apr 1992 14:55
Date: Tue, 07 Apr 1992 14:55
34 lines
1485 bytes
1485 bytes
Hello
I am having a number of problems compiling tcsh 6.01 with gcc 2.1 on a
SparcStation running SunOS 4.1.1. I have tracked down the problem with free that
many reported but now I get:
Warning: no access to tty (Inappropriate ioctl for device).
Thus no job control in this shell.
whenever I try to run. I have previously compiled with cc with no problems.
The patch for the free problem is:
*** tc.os.c.orig Tue Apr 7 13:16:34 1992
--- tc.os.c Tue Apr 7 16:44:31 1992
***************
*** 717,722 ****
--- 717,723 ----
{
extern ptr_t membot;
+ if (membot == NULL) /* protect against early morecore calls */
membot = (ptr_t) sbrk(0);
#ifdef OREO
--
Michael Salmon
#include <standard.disclaimer>
#include <witty.saying>
#include <fancy.pseudo.graphics>
Ericsson Telecom AB
Stockholm
Technical Details
Message-ID:
<1992Apr7.145546.10578@ericsson.se>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!micro-heart-of-gold.mit.edu!bloom-beacon!eru.mt.luth.se!lunic!sunic!ugle.unit.no!nuug!nn.no!nntp.uio.no!ifi.uio.no!sics.se!eua.ericsson.se!ericom!eos.ericsson.se!etxmesaShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!micro-heart-of-gold.mit.edu!bloom-beacon!eru.mt.luth.se!lunic!sunic!ugle.unit.no!nuug!nn.no!nntp.uio.no!ifi.uio.no!sics.se!eua.ericsson.se!ericom!eos.ericsson.se!etxmesa From: etxmesa@eos.ericsson.se (Michael Salmon) Newsgroups: comp.sources.bugs Subject: tcsh problemw when compiling with gcc 2.1 Keywords: tcsh gcc sunos4.1.1 Message-ID: <1992Apr7.145546.10578@ericsson.se> Date: 7 Apr 92 14:55:46 GMT Sender: news@ericsson.se Reply-To: etxmesa@eos.ericsson.se (Michael Salmon) Organization: Ericsson Telecom AB Lines: 34 Nntp-Posting-Host: eos6c02.ericsson.se