> I have tried, without any luck, to get postgres compiled with gcc 3.2 
> (from freeware.sgi.com). It keeps adding '-r' when its linking, even 
> when LDFLAGS is unset, LD is 'gcc' and CC is 'gcc'. I could do the 
> linking manually, but this is not really a viable option for a > 
> release.

Looking at this more, I see this:

[goro:~/postgresql-7.3.1/src] alex% grep LD Makefile* | grep -- '-r'
Makefile.global:LDREL = -r

Can we just not append LDREL to LD if we're on Irix?


alex

--
alex avriette
$^X is my programming language of choice.
alex@posixnap.net


Mon, 3 Feb 2003 00:28:20 -0500
alex avriette <alex@posixnap.net>
Re: Irix 6.2, Postgres 7.3.1, some brokenness 
Disregard previous. Using /bin/ld (with LDREL = -r) works fine as a 
linker. Call it force of habit.

Is it worth warning the user that you cannot use gcc as ld on Irix? I 
used it because I figured I would need gnu ld (which I of course didn't 
have).

Anyhow, 7.3.1 is successfully built.


Alex


--
alex avriette
$^X is my programming language of choice.
alex@posixnap.net


Mon, 3 Feb 2003 00:53:51 -0500
alex avriette <avriettea@speakeasy.net>
Re: Irix 6.2, Postgres 7.3.1, some brokenness 

When compiled with gcc, it does trap divide by zero.

Alex


Mon, 3 Feb 2003 01:13:05 -0500
alex avriette <alex@posixnap.net>
Re: Irix 6.2, Postgres 7.3.1, some brokenness 
alex avriette writes:

> Is it worth warning the user that you cannot use gcc as ld on Irix?

You cannot use gcc as ld on any system.

-- 
Peter Eisentraut   peter_e@gmx.net


Mon, 10 Feb 2003 20:13:29 +0100 (CET)
Peter Eisentraut <peter_e@gmx.net>
Re: Irix 6.2, Postgres 7.3.1, some brokenness 
Peter Eisentraut wrote:
> alex avriette writes:
> 
> > Is it worth warning the user that you cannot use gcc as ld on Irix?
> 
> You cannot use gcc as ld on any system.

Erm, perhaps not, but you can use it as the link step (both to
generate executables and to generate shared objects) on many systems.

Perhaps that's what he meant?


-- 
Kevin Brown					      kevin@sysexperts.com

Mon, 10 Feb 2003 18:45:19 -0800
Kevin Brown <kevin@sysexperts.com>
Re: Irix 6.2, Postgres 7.3.1, some brokenness