agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Dieter.Pfoser <pfoser@wins.uia.ac.be>
To: Postgres Mailing List <postgres@postgres.Berkeley.EDU>
Subject: ad. Type Circle doesn't work
Date: Wed, 1 Feb 1995 13:31:30 +0100 (MET)
Message-ID: <Pine.3.89.9502011332.A1234-0100000@wins> (raw)

A few days ago I placed I mail that I can't get the example type circle 
to work.
I found a solution for this problem.

You have to compile the circle.c file with the option -munaligned-doubles!!!
I used the following statement:

INCLUDE=/usr/local/postgres/src/backend
CC= /usr/local/postgres/bin/gcc

fpdist.so: fpdist.o
	ld -G -Bdynamic -o fpdist.so fpdist.o

fpdist.o: fpdist.c
	$(CC) -g -fPIC -I$(INCLUDE) -munaligned-doubles -c fpdist.c
 
The compiler in this case is the modified gcc 2.5.8.
I also checked it out with gcc 2.6.1 and it works too.


Dieter Pfoser
University of Antwerp, Belgium


==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================
              URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: pfoser@wins.uia.ac.be
  Subject: Re: ad. Type Circle doesn't work
  In-Reply-To: <Pine.3.89.9502011332.A1234-0100000@wins>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox