提交 6995c5fb 编写于 作者: B Bruce Momjian

Please forget all I said about gcc and AIX in my previous mail.

It does work with the following patch applied and gcc 2.95.2 .

Use --with-template=aix_gcc to compile the whole lot with gcc.

The geometry regression test produces different precision.
With optimization I run into regression failures starting at oidjoins,
thus no -O2. Anybody else try gcc 2.95.2 and -O2 on beta4 ?

This is an important patch, since recent versions of the IBM compiler
are not for free, and thus most questions I get concern gcc.

Andreas

PS.: I am testing with beta4
上级 15942b82
......@@ -15,7 +15,7 @@ MKLDEXPORT=$(SRCDIR)/backend/port/aix/mkldexport.sh
$(POSTGRES_IMP):
@echo Making $@
$(MKLDEXPORT) postgres $(BINDIR) > $@
$(CC) -bE:$(SRCDIR)/backend/$@ -o postgres $(OBJS) ../utils/version.o $(LDFLAGS)
$(CC) -Wl,-bE:$(SRCDIR)/backend/$@ -o postgres $(OBJS) ../utils/version.o $(LDFLAGS)
%$(EXPSUFF):
$(MKLDEXPORT) $*.o `pwd` > $*$(EXPSUFF)
......
AROPT:crs
CFLAGS:-fsigned-chars
SHARED_LIB:
CFLAGS:-pipe
CXXFLAGS:-pipe
SHARED_LIB:-lc
ALL:
SRCH_INC:
SRCH_LIB:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册