🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52413

Circular links and fixincludes in gcc 1.4.1 on SunOS 4.1.2

#52413
From: M. J. Saltzman
Date: Wed, 16 Sep 1992 18:45
34 lines
1771 bytes
I'm installing gcc 1.4.1 on SunOS 4.1.2, and I ran into the following
problem with fixincludes:

In this version of SunOS (but apparently not in version 4.1.1) the
directory /usr/include/machine is a symbolic link to ../kvm/machine.
In turn, /usr/kvm/machine is a symbolic link to ./sys/sun4c.  Finally,
in /usr/kvm/sys/sun4c, there is an entry for machine which is a
symbolic link to ".".  My questions:

When running the fixincludes phase of the gcc 1.4.1 installation, this
final link appears to cause an infinite loop, where the gcc include
directory contains an infinite chain of directories
/usr/local/lib/gcc-include/machine/machine/machine...  Does anyone
know of a way around this problem?  

I notice in the INSTALL file, a reference is made to this sort of
problem on some MIPS machines, but there is no reference to Suns and
no hint of how one might get around the problem.

Incidentally, can anyone answer:
	Why is this circular link here, anyway?

	Why wasn't it in SunOs 4.1.1 (at least the installation I checked)?  

Thanks in advance for any assistance.
-- 
		Matthew Saltzman
		Clemson University Math Sciences
		mjs@clemson.edu

-- 
		Matthew Saltzman
		Clemson University Math Sciences
		mjs@clemson.edu
Technical Details
Message-ID: <1992Sep16.184536.2950@hubcap.clemson.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!hubcap!mjs

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,3500e9da68f2a477,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-09-16 06:26:14 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!hubcap!mjs
From: mjs@hubcap.clemson.edu (M. J. Saltzman)
Subject: Circular links and fixincludes in gcc 1.4.1 on SunOS 4.1.2
Message-ID: <1992Sep16.184536.2950@hubcap.clemson.edu>
Organization: Clemson University, Clemson SC
Date: Wed, 16 Sep 1992 18:45:36 GMT
Lines: 34