From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | jtv <jtv(at)xs4all(dot)nl> |
Cc: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: libpq++ build problems |
Date: | 2002-07-03 17:45:56 |
Message-ID: | 200207031745.g63HjuR01414@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Actually, I am confused. In src/template/freebsd I see:
CFLAGS='-pipe'
case $host_cpu in
alpha*) CFLAGS="$CFLAGS -O";;
i386*) CFLAGS="$CFLAGS -O2";;
esac
so why is he seeing the -O2 flag on FreeBSD/alpha?
---------------------------------------------------------------------------
jtv wrote:
> On Wed, Jul 03, 2002 at 02:25:46PM +0800, Christopher Kings-Lynne wrote:
> > OK, this is what I'm seeing on FreeBSD/Alpha for libpq++.
>
> [cut]
> [paste]
>
> > cc1plus: warning:
> > ***
> > *** The -O2 flag TRIGGERS KNOWN OPTIMIZER BUGS ON THIS PLATFORM
> > ***
>
> Doesn't say it doesn't work though... Have you tried running the
> resulting code?
>
>
> > I haven't figured out how to build libpqxx yet.:
>
> Basically, ./configure; make; make check; make install. You may have to
> use configure options --with-postgres=/your/postgres/dir or its cousins.
> Plus, you'll also run into the same gcc warning so you may have to set
> the environment variable CXXFLAGS to something like -O before running
> configure. The same will probably help with libpq++ as well BTW.
>
>
> Jeroen
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
>
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(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
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-07-03 17:49:28 | Re: listen/notify argument (old topic revisited) |
Previous Message | Tom Lane | 2002-07-03 17:43:29 | Re: listen/notify argument (old topic revisited) |