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 [EMAIL PROTECTED]) > > > -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026 ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org