Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6995c5f

Browse files
committed
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
1 parent 15942b8 commit 6995c5f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/makefiles/Makefile.aix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ MKLDEXPORT=$(SRCDIR)/backend/port/aix/mkldexport.sh
1515
$(POSTGRES_IMP):
1616
@echo Making $@
1717
$(MKLDEXPORT) postgres $(BINDIR) > $@
18-
$(CC) -bE:$(SRCDIR)/backend/$@ -o postgres $(OBJS) ../utils/version.o $(LDFLAGS)
18+
$(CC) -Wl,-bE:$(SRCDIR)/backend/$@ -o postgres $(OBJS) ../utils/version.o $(LDFLAGS)
1919

2020
%$(EXPSUFF):
2121
$(MKLDEXPORT) $*.o `pwd` > $*$(EXPSUFF)

src/template/aix_gcc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
AROPT:crs
2-
CFLAGS:-fsigned-chars
3-
SHARED_LIB:
2+
CFLAGS:-pipe
3+
CXXFLAGS:-pipe
4+
SHARED_LIB:-lc
45
ALL:
56
SRCH_INC:
67
SRCH_LIB:

0 commit comments

Comments
 (0)