Re: libpq++ build problems

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: libpq++ build problems
Дата
Msg-id 200207031745.g63HjuR01414@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: libpq++ build problems  (jtv <jtv@xs4all.nl>)
Ответы Re: libpq++ build problems  (jtv <jtv@xs4all.nl>)
Список 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@postgresql.org)
> 
> 
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: listen/notify argument (old topic revisited)
Следующее
От: jtv
Дата:
Сообщение: Re: libpq++ build problems