summaryrefslogtreecommitdiff
path: root/src/template
Commit message (Collapse)AuthorAgeFilesLines
* Here is the first batch of files and diffs for the BeOS port. I've run intoBruce Momjian2000-10-021-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | problems with some bits of it, but when all the patches are in it'll build and we can fix it from there :) I've got a version that builds and runs and that is the basis for these patches. The first file has the new additional files that are required, template/beos backend/port/dynloader/beos.c backend/port/dynloader/beos.h include/port/beos.h makefiles/Makefile.beos The second is a tarball of diffs against a few files. I've added sys/ipc.h to configure and config.h via configure.in and config.h.in and then started adding the check as this file isn't needed on BeOS and having loads of #ifdef BEOS isn't as obvious as #ifdef HAVE_SYS_IPC_H and isn't as autconf'ish :) Files touched are include/c.h configure.in include/config.h.in include/storage/ipc.h include/utils/int8.h Let me know how these go. I'll await a response before submitting any more. Any problems just get in touch. David Reid
* New unified regression test driver, test/regress makefile cleanup,Peter Eisentraut2000-09-291-1/+0
| | | | | add "check" and "installcheck" targets, straighten out make variable naming of host_os, host_cpu, etc.
* Update bsdi templateBruce Momjian2000-07-241-2/+2
|
* Rename templates to match names in makefiles/Makefile.* and include/port.Peter Eisentraut2000-07-1549-342/+174
| | | | | Read templates after compiler is detected. Convert all templates to real shell scripts. Rename bsd->openbsd, alpha->osf.
* Fixes for Solaris/cc suggested by <pgsql-hackers@thewrittenword.com>Peter Eisentraut2000-06-302-3/+3
| | | | | | | | Don't use DISABLE_COMPLEX_MACRO on Solaris. Don't define the replacement function in the header file. Use -KPIC, not -K PIC. Use CC to link C++ libraries, not ld/ar. Eliminate file not found warnings in tcl build code.
* Linux/alpha patch.Bruce Momjian2000-06-191-0/+2
|
* Remove -O0 linux ppc flagBruce Momjian2000-06-141-1/+1
|
* Gen_fmgrtab.sh is strange: it is a platform dependent way (because it usesPeter Eisentraut2000-06-0739-116/+0
| | | | | | | | | | | | | | | | | | | | | CPP) to create platform independent files. Unfortunately, that means that every config.status (or configure) run invariably causes a relink of the postmaster and also that we can't put these files in the distribution (usefully). So we make it a little smarter: when the output files already exist and it notices that it would recreate them in identical form, it doesn't touch them. In order to avoid re-running the make rule all the time we update a timestamp file instead. Update release_prep accordingly. Also make Gen_fmgrtab.sh use the awk that is detected at configure time, not necessarily named `awk' and have it check for exit statuses a little better. In other news... Remove USE_LOCALE from the templates, it was set to `no' everywhere anyway. Also remove YACC and YFLAGS from the templates, configure is smart enough to find bison or yacc itself. Use AC_PROG_YACC for that instead of the hand-crafted code. Do not set YFLAGS to `-d'. The make rules that need this flag should explicitly invoke it. YFLAGS should be a user variable. Update the makefiles to that effect.
* Finally figured out that HP's cpp won't do ANSI preprocessing constructsTom Lane2000-04-211-0/+1
| | | | | | unless you feed it -Aa or -Ae switch. Autoconf does not know about this, but we can fix it in the hpux_cc template file. I knew templates were good for something ;-)
* linux_alpha pattern should allow for more-detailed machine type suchTom Lane2000-04-181-1/+1
| | | | as 'alphaev5', cf report from Stepanov 13-Apr-00.
* Revert no-longer-needed relaxation of compiler errors.Tom Lane2000-04-181-2/+1
|
* Add comment for -qhalt=w removal so it can be re-added laterBruce Momjian2000-04-171-0/+1
|
* Aix additionsBruce Momjian2000-04-171-0/+2
|
* Remove -qhalt=w flag from aix42.Bruce Momjian2000-04-171-1/+1
|
* Please forget all I said about gcc and AIX in my previous mail.Bruce Momjian2000-04-051-2/+3
| | | | | | | | | | | | | | | | | 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
* Update alpha templates as suggested by SL Baur and Adriaan Joubert.Tom Lane2000-03-314-3/+7
| | | | | | Make similar changes to hpux templates. Might want to do the same for other foo_cc and foo_gcc pairs, but will desist until I hear from someone who uses those platforms.
* Remove -O2 for aix.Bruce Momjian2000-03-241-1/+1
|
* Back out // compiler flag.Bruce Momjian2000-03-231-1/+1
|
* Some points for portability improvements:Bruce Momjian2000-03-231-1/+1
| | | | | | | | | | | | | | | | | | | 1. C++ style comments in C source for ecpg ( // comment ) 2. compiler finds wrong include file extern.h in ecpg/lib/descriptor.c from include path instead of workdir (rename it ?) 3. fe-connect getsockopt takes a socklen_t as fifth arg not int (use SOCKET_SIZE_TYPE instead) 4. char vs unsigned char in psql calls to libpq 5. empty define that results in an empty but terminated line ( ; ) Now for all but point 3 I can supply changes to the compiler flags, to make the compiler less pedantic. Or is someone interested in the complications ? in the meantime can someone apply the attached patch ? Andreas
* Make use of pre-existing regexp match capability to eliminate redundantTom Lane2000-03-191-26/+18
| | | | | entries in template selection rules. Also, change alpha-dec-osf pattern to cope with version info attached to the 'alpha' part.
* Since it has been confirmed working on the bugs list, please apply theBruce Momjian2000-03-161-1/+1
| | | | | | attached patch. Andreas Kardos
* > To make PostgreSQL compilable on Digital Unix I had to modify theBruce Momjian2000-03-141-1/+1
| | | | | | | | alpha_cc > template file. Patch attached. > > Andreas Kardos >
* I have done the QNX4 port with the current source tree. The number ofBruce Momjian1999-12-161-0/+12
| | | | | | | | backend/Makefiles to be patched could significantly be reduced since they have been adopted to the QNX4 needs. Andreas Kardos
* Add Linux ARM.Bruce Momjian1999-11-062-0/+11
|
* Update bsdi for bsd/os 4.1Bruce Momjian1999-11-042-2/+2
|
* Hi,Bruce Momjian1999-10-131-1/+1
| | | | | | | | | | | | I have changed a bit the makefiles for the win32 port - the *.def files (created when building shared libraries) are now clean from Makefile.shlib. I have also removed "-g" from CFLAGS in the "cygwin32" template - it can be enabled when running configure. Dan
* Add bsdi sparc port.Bruce Momjian1999-09-272-0/+12
|
* testBruce Momjian1999-09-061-0/+1
|
* Remove comment after optimization flag.Bruce Momjian1999-07-291-1/+1
|
* Move -ieee to adt Makefile, and add CPU Makefile variable.Bruce Momjian1999-07-201-1/+1
|
* -mieee and # does not work for certain version of egcsTatsuo Ishii1999-07-101-1/+1
|
* Add linux_m68k template file.Bruce Momjian1999-07-091-0/+10
|
* Remove -m486 on Openbsd.Bruce Momjian1999-06-261-1/+1
|
* linux_ppc now use -O0 to fix problem in optimization of fmgr calls.Bruce Momjian1999-06-181-1/+1
|
* Remove QUERY_LIMIT and documenation on same. Change _ALIGN to TYPEALIGNBruce Momjian1999-06-171-1/+1
| | | | for Irix.
* Make linux_ppc use only -O, not -O2.Bruce Momjian1999-06-171-1/+1
|
* add m86 similar entries.Bruce Momjian1999-06-111-0/+2
|
* Remove -O2 for linux/alpha, make -O.Bruce Momjian1999-06-091-1/+1
|
* Linux-alpha gets -OBruce Momjian1999-06-081-1/+1
|
* Remove optimization on linux/alpha.Bruce Momjian1999-06-081-1/+1
|
* On AIX 4.3.2 the third line in template/aix_42:Bruce Momjian1999-06-071-1/+1
| | | | | | | | | | | | | | SHARED_LIB: needs to be changed to: SHARED_LIB:-lc I think this was also needed on AIX 4.2. Comments Please !! If nobody objects, I suggest to make this change, since it cannot break AIX 4.2 and is necessary on AIX 4.3 Andreas
* NT similar file update.Bruce Momjian1999-05-311-0/+4
|
* add mipsel-unknown-linux-gnu support. config.guess seems slightly changedTatsuo Ishii1999-04-121-0/+1
| | | | since April 1?
* We use CFLAGS = -O2 on every other gcc platform, so why notTom Lane1999-04-041-1/+1
| | | | hpux_gcc too?
* Add missing Windows files.Bruce Momjian1999-01-181-0/+11
|
* Apply Win32 patch from Horak Daniel.Bruce Momjian1999-01-171-0/+1
|
* I have ported PostgreSQL 6.4 to Cobalt Qube running Linux 2.0.33 withBruce Momjian1998-12-182-0/+11
| | | | | | | MIPS cpu (I think it's R4000). I have tested the patches on LinuxPPC and FreeBSD. I believe they do not harm other platforms. -- Tatsuo Ishii
* Attached is a patch with some fixes that (I think that) should go intoBruce Momjian1998-12-183-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6.4.1. Here is the list: - The type int8 now works. In fact, the bug(s) were in src/backend/port/snprintf.c, so int8 is probably broken in every platform that hasn't a native snprintf/vsnprintf. The type itself worked as expected, only the output was wrong. Anyway, this patch should be checked in other platforms. - The regression tests for int2 and int4, which were broken due to differences in the error messages, are fixed. - The regression test for float8, which was broken in the reference platform, is also fixed. I don't know if the new file (float8-OSF1.out) will work on other platforms, but it might be worth to try it. - Two new template files are provided (alpha_cc, which includes optimization, and alpha_gcc), and src/templates/.similar is updated accordingly. src/templates/alpha should be removed from the distribution. *IMPORTANT NOTE*: I don't know if you can use gcc to compile postgres; I've written the alpha_gcc file because alpha_cc has some flags that are specific to DEC C. - There is a (very basic) Digital Unix specific FAQ in doc/FAQ_DigitalUnix. -- ------------------------------------------------------------------- Pedro José Lobo Perea Tel: +34 91 336 78 19
* Partial fix for vendor-cc-versus-gcc incompatibility on HPUX:Tom Lane1998-12-131-0/+2
| | | | | prefer aCC as c++ compiler if hpux_cc is selected as template. Doesn't solve the problem if you have g++ and not aCC, however...
* modify configure so that template/.similar entries can beTom Lane1998-11-231-9/+7
| | | | | | | selected when they match a prefix of the value. The previous method, which stripped all version data from and then tried to match that against .similar entries, was entirely useless when .similar contained several entries for different version numbers of a single OS name.