Thread: failed to compile on irix6.5 with gcc

failed to compile on irix6.5 with gcc

From
Tiaan Wessels
Date:
hi,
i am trying to compile postgres on

!:nsdv4:/home/people/tiaan/postgresql-7.1.3%>uname -a
IRIX64 nsdv4 6.5 01101245 IP27


with


!:nsdv4:/home/people/tiaan/postgresql-7.1.3%>gcc -v
Reading specs from
/usr/local/lib/gcc-lib/mips-sgi-irix6.5/egcs-2.91.60/specs
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)


but get the following


gcc  -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../../src/include  -U_NO_XOPEN4  -c s_lock.c -o s_lock.o
s_lock.c: In function `s_lock':
s_lock.c:134: warning: passing arg 1 discards `volatile' from pointer
target type
s_lock.c: At top level:
s_lock.c:234: warning: `tas_dummy' defined but not used
as: Error: /var/tmp/ccg3hy8Z.s, line 415: undefined assembler operation:
.global      .global tas


could anyone perhaps help me in solving this

regards
tiaan

ps. i could not make out that this was a mailing list so please reply to
me personally (as well) as i have not subscribed to any list


Re: failed to compile on irix6.5 with gcc

From
Peter Eisentraut
Date:
Compiling PostgreSQL with GCC on Irix doesn't work.  You need to get a
different compiler.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter