Re: [PORTS] RedHat6.0 & Alpha

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Uncle George <gatgul(at)voicenet(dot)com>
Cc: Ryan Kirkpatrick <rkirkpat(at)nag(dot)cs(dot)colorado(dot)edu>, pgsql-ports(at)postgreSQL(dot)org
Subject: Re: [PORTS] RedHat6.0 & Alpha
Date: 1999-07-20 02:46:51
Message-ID: 199907200246.WAA23346@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-ports

> Thats NOT THE PROBLEM.
> Although u have localize the -mieee/float in the date stuff, u have needlessly
> inflicted the -mieee switch on ALL compiled modules.
> I would have prefered it to be makefile ( Certainly on a SUBSYS.o, and even better on
> on a per module.o) compile under a makefile switch
> ie: ( or something simular )
>
> if eq($(CPUID),alpha)
> myfloat.o: myfloat.c
> $(CC) $(CFLAGS) -mieee myfloat.c -o myfloat.o
> fi
>

OK, I have added code in utils/adt/Makefile as:

# seems to be required for some date/time stuff 07/19/1999 bjm
ifeq ($(CPU),alpha)
CFLAGS+= -mieee
endif

This is in the current tree, not 6.5.1. Please test and let me know if
this helps. I also added a Makefile-visible variable called CPU. Seems
we really don't have such a variable already available in the
Makefile-scope.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-07-20 02:59:16 Re: [SQL] Re: [HACKERS] Counting bool flags in a complex query
Previous Message Tom Lane 1999-07-20 02:15:12 Re: [HACKERS] RedHat6.0 & Alpha

Browse pgsql-ports by date

  From Date Subject
Next Message Vincenzo Venuto 1999-07-20 03:34:01 Port to OS/2 completed ...
Previous Message Unprivileged user 1999-07-20 02:26:11 Port Bug Report: INSERT INTO SELECT with join creates over 2000 temp files