Subject: Re: trouble compiling gcc3 on IRIX64 6.5.20m
To: None <tech-pkg@netbsd.org>
From: Ryan Cresawn <cresawn@chass.utoronto.ca>
List: tech-pkg
Date: 11/24/2003 22:19:20
Jan,
The compilation of gcc3 failed at the same point as before.
fibheap.c: In function fibheap_delete_node':
fibheap.c:285: error: LONG_MIN' undeclared (first use in this function)
fibheap.c:285: error: (Each undeclared identifier is reported only once
fibheap.c:285: error: for each function it appears in.)
I am going to modify the source as Michal Pasternak suggested though
for some reason I was not expecting to have so much trouble with
compiling gcc3. Perhaps I am naive but I was hoping pkgsrc would work
as well as it does on NetBSD. I'll post later after my next attempt.
Ryan
On Mon, Nov 24, 2003 at 09:03:46PM -0500, Jan Schaumann wrote:
> Ryan Cresawn <cresawn@chass.utoronto.ca> wrote:
>
> > I did not manually copy an example 'mk.conf' file into '/etc'. I
> > believe the 'bootstrap' command did that for me.
>
> I don't believe that the boostrap command actually copies the example
> file into /etc. It creates the suggested file and does remind you to
> copy it over, but doesn't actually do so (which is a good thing!).
>
> > I'm confused about '/etc/compiler.defaults'. Is that file used if I
> > am using gcc-3.3 in '/usr/freeware/bin'? I assumed, perhaps
> > erroneously, that '/etc/compiler.defaults' was used to configure 'cc'.
>
> No, that is correct. gcc should completely ignore that file.
>
> > I added the two lines you suggested into '/etc/mk.conf', ran 'bmake
> > clean' and have just started 'bmake'. I will write later to report my
> > results.
>
> That won't help you. As I saw from the other messages, there seems to
> be an include missing. I find that odd, given that gcc does, AFAIK,
> compile under Irix. I'll give it a shot some time this or next week on
> an Irix system as well to see if I can confirm the problem.
>
> -Jan
>
> --
> 'I have reached an age where my main purpose is not to receive
> messages.' --- Umberto Eco, quoted in the New Yorker