Help building 08.02.0200 on Solaris 10 (sparc)

From: Trevor Riever <tmanmi(at)yahoo(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Help building 08.02.0200 on Solaris 10 (sparc)
Date: 2006-11-08 14:47:26
Message-ID: 20061108144726.49812.qmail@web60714.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

I can build and make 08.01.0200 and 08.02.0100 on the
same machine with the same environment. I get the
following error when doing the make, have used make
and gmake get same results:

gcc -DHAVE_CONFIG_H -I. -I. -I. -xO3 -xarch=v8
-xspace -W0,-Lt -W2,-Rcond_elim -Xa -xildoff
-xc99=none -xCC -I/usr/include/pgsql -g -O2 -MT
info.lo -MD -MP -MF .deps/info.Tpo -c info.c -fPIC
-DPIC -o .libs/info.o
gcc: unrecognized option `-Xa'
gcc: language CC not recognized

Used ./configure --with-unixodbc. I am using gcc
3.4.6 and the latest binutils have been installed.
Following line is from the Make file from 08.02.0200:

CPPFLAGS = -xO3 -xarch=v8 -xspace -W0,-Lt
-W2,-Rcond_elim -Xa -xildoff -xc99=none -xCC
-I/usr/include/pgsql

and from 08.02.100 which makes fine:

CPPFLAGS = -I/usr/include/pgsql

From what I can tell gcc doesn't like the CPPFLAGS in
08.02.200. Are there any flags or options that I
should be setting berfore attempting to build
08.02.200. I'm not much of a compiler and linker
person but any help would be appreciated.

Thanks

Trevor


____________________________________________________________________________________
Sponsored Link

Mortgage rates near 39yr lows. $420k for $1,399/mo.
Calculate new payment!
http://www.LowerMyBills.com/lre

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Peter Eisentraut 2006-11-08 16:03:01 Re: Fwd: Bug#396218: bind.c: bad handling of SQL_LEN_DATA_AT_EXEC breaks passing char buffer length at SQLExec time
Previous Message Hiroshi Inoue 2006-11-07 03:34:02 Re: When length of text data is 1.