mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	AIX patches from Andreas.
This commit is contained in:
		@@ -12,8 +12,7 @@ if you have readline or libz there:
 | 
				
			|||||||
libpq++ does not work because xlC does not have the string and bool classes.
 | 
					libpq++ does not work because xlC does not have the string and bool classes.
 | 
				
			||||||
compiling the few files, that fail, with g++ does work.
 | 
					compiling the few files, that fail, with g++ does work.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Compiling PostgreSQL with gcc (2.95.2) on AIX does work if you use the
 | 
					Compiling PostgreSQL with gcc (2.95.2) on AIX also works.
 | 
				
			||||||
configure option: --with-template=aix_gcc 
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
There will probably be warnings about int8 - int64 redefines and 0.0/0.0
 | 
					There will probably be warnings about int8 - int64 redefines, 0.0/0.0
 | 
				
			||||||
devision warnings, which you can safely ignore.
 | 
					division and duplicate symbol warnings which you can safely ignore.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,15 +1,9 @@
 | 
				
			|||||||
if test "$GCC" = yes ; then
 | 
					if test "$GCC" = yes ; then
 | 
				
			||||||
  CFLAGS=-pipe
 | 
					  CFLAGS='-O2 -pipe'
 | 
				
			||||||
else # not GCC
 | 
					else # not GCC
 | 
				
			||||||
 | 
					  CFLAGS='-O2 -qmaxmem=16384 -qsrcmsg -qlonglong'
 | 
				
			||||||
  case $host_os in
 | 
					  case $host_os in
 | 
				
			||||||
    aix3.2.5)
 | 
					    aix3.2.5 | aix4.1*)
 | 
				
			||||||
      CFLAGS='-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg'
 | 
					      CFLAGS='-qmaxmem=16384 -qsrcmsg' ;;
 | 
				
			||||||
      ;;
 | 
					 | 
				
			||||||
    aix4.1)
 | 
					 | 
				
			||||||
      CFLAGS='-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg -qcheck=divzero'
 | 
					 | 
				
			||||||
      ;;
 | 
					 | 
				
			||||||
    aix4.2 | aix4.3)
 | 
					 | 
				
			||||||
      CFLAGS='-qmaxmem=16384 -qhalt=w -qsrcmsg -qlanglvl=extended -qlonglong'
 | 
					 | 
				
			||||||
      ;;
 | 
					 | 
				
			||||||
  esac
 | 
					  esac
 | 
				
			||||||
fi # not GCC
 | 
					fi # not GCC
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user