1. 10 Feb, 2001 4 commits
  2. 04 Feb, 2001 1 commit
  3. 06 Dec, 2000 1 commit
  4. 30 Nov, 2000 1 commit
    • Peter Eisentraut's avatar
      Make all commands that link a program look like · e5ba2fc5
      Peter Eisentraut authored
      $(CC) $(CFLAGS) $(LDFLAGS) <object files> <extra-libraries> $(LIBS) -o $@
      
      This form seemed to be the most portable, readable, and logical, but in any
      case it's better than having a dozen different ones in the tree.
      e5ba2fc5
  5. 14 Nov, 2000 1 commit
  6. 09 Nov, 2000 1 commit
  7. 08 Nov, 2000 1 commit
  8. 04 Nov, 2000 1 commit
  9. 31 Oct, 2000 1 commit
    • Peter Eisentraut's avatar
      This is the minimal version of the Darwin support patch from · b99ee7f3
      Peter Eisentraut authored
      Bruce Hartzler <bruceh@mail.utexas.edu>.  It contains shared library
      support, regression test map, and the usual template files.  The dynamic
      loader is missing, the spin lock code apparently doesn't assemble due to
      syntax problems, and semaphores are to be hoped for from Apple.
      b99ee7f3
  10. 27 Oct, 2000 2 commits
  11. 25 Oct, 2000 1 commit
  12. 23 Oct, 2000 1 commit
    • Peter Eisentraut's avatar
      Polish shared library build to reduce number of special hacks. In · 7b021ce1
      Peter Eisentraut authored
      particular, allow linking with arbitrary commands rather than only $(AR) or
      $(LD), and treat C++ without hacks.
      
      Add option to disable shared libraries.  This takes the place of the
      BSD_SHLIB variable.  The regression test driver ignores the plpgsql test
      if there are no shared libraries available.
      7b021ce1
  13. 20 Oct, 2000 1 commit
  14. 10 Oct, 2000 1 commit
  15. 07 Oct, 2000 1 commit
    • Bruce Momjian's avatar
      The beos port in the source tree doesn't even compile. and even · 7ea8403c
      Bruce Momjian authored
      after that dynamic loading isn't working and shared memory handling is
      broken.
      
              Attached with this message, there is a Zip file which contain :
      
              * beos.diff = patch file generated with difforig
              * beos = folder with beos support files which need to be moved in /
      src/backend/port
              * expected = foler with three file for message and precision
      difference in regression test
              * regression.diff = rule problem (need to kill the backend manualy)
              * dynloader = dynloader files (they are also in the pacth files,
      but there is so much modification that I have join full files)
      
              Everything works except a problem in 'rules' Is there some problems
      with rules in the current tree ? It used to works with last week tree.
      
      Cyril VELTER
      7ea8403c
  16. 17 Sep, 2000 1 commit
    • Peter Eisentraut's avatar
      Support for DESTDIR make variable. This is used as in `make install · 335248c9
      Peter Eisentraut authored
      DESTDIR=/else/where' and prepends the value of DESTDIR to the full
      installation paths (e.g., /else/where/usr/local/pgsql/bin). This allows
      users to install the package into a location different from the one that
      was configured and hard-coded into various scripts, e.g., for creating
      binary packages.
      
      DESTDIR is in many cases preferrable over `make install
      prefix=/else/where' because
      
      a) `prefix' affects the path that is hard-coded into the files, which can
      lead to a `make install prefix=xxx' (as done by the regression test
      driver) corrupting the files in the source tree with wrong paths.
      
      b) it doesn't work at all if a directory was overridden to not depend on
      `prefix', e.g., --sysconfdir=/etc.
      
      (Updating the regression test driver to use DESTDIR is a separate
      undertaking.)
      
      See also autoconf@gnu.org, From: Akim Demaille <akim@epita.fr>, Date: 08
      Sep 2000 12:48:59 +0200, Message-ID:
      <mv4em2vb1lw.fsf@nostromo.lrde.epita.fr>, Subject: Re: HTML format
      documentation.
      335248c9
  17. 07 Jul, 2000 1 commit
    • Bruce Momjian's avatar
      |> The Makefile.shlib changes will have to be discussed with other Linux · 16e94878
      Bruce Momjian authored
      |> developers so we are sure it will work on all platforms.
      
      The problem with the current settings is that the linker is called
      directly.  This is wrong, it should always be called through the
      compiler
      driver (the only exception is `ld -r').  This will make sure that the
      necessary libraries like libgcc are linked in.
      
      But there is still a different problem with the setting of LDFLAGS_ODBC.
      The psqlodbc module defines the functions _init and _fini which are
      reserved for the shared library initialisation.  These should be changed
      to constructor functions.  Then LDFLAGS_ODBC can be changed to be just
      `-lm'.  Btw, why does it use -Bsymbolic?
      
      Andreas Schwab
      16e94878
  18. 28 Jun, 2000 1 commit
    • Peter Eisentraut's avatar
      Makefile cleanup for interface tree. Now essentially with all the · 44f64dd3
      Peter Eisentraut authored
      standard targets and behaviour. Replaced Makefile.in's with
      Makefile's and declared the respective variables in Makefile.global.
      
      maintainer-clean target now available at top level, although it does
      not work in the backend tree yet.
      
      Cleanup pass over Makefile.shlib, renamed some targets and variables.
      The shared library symlink tests are now done by make, not the shell.
      
      ecpg: Remove one warning in sloppy flex output.
      
      PL/Perl and Perl interface: the MakeMaker documentation is confusing,
      the realclean target *does* "delete derived files", but it also
      uninstalls them. Don't use that.
      
      The submake targets in the various bin directories that update libpq
      should `make all', not `make libpq.a'. That is a) unportable, and
      b) doesn't build the shared library.
      44f64dd3
  19. 16 May, 2000 1 commit
    • Bruce Momjian's avatar
      Several compilation and run-time problems occur when building on SGI · a47e20b0
      Bruce Momjian authored
      IRIX systems using the native compilers.  A summary is:
      - Various files use "//" as a comment delimiter in c files.
      - Problems caused by assuming "char" is signed.
        cash.in: building -signed the rules regression test fails as described
          in FAQ_QNX4.  If CHAR_MAX is "255U" then ((signed char)CHAR_MAX) is -1.
        postmaster.c: random number regression test failed without this change.
      - Some generic build issues and warning message cleanup.
      
      David Kaelbling
      a47e20b0
  20. 09 Mar, 2000 1 commit
  21. 08 Mar, 2000 1 commit
    • Bruce Momjian's avatar
      I've made a diff against the 7.0beta1 tree that accomplishes several things: · f43ec05d
      Bruce Momjian authored
              1) adds NetBSD shared lib support on both ELF and a.out platforms
      
              2) replaces "-L$(LIBPQDIR) -lpq" with "$(LIBPQ)" defined in
                 Makefile.global.  This makes it much easier to build stuff in
                 the source tree after you've already installed the libraries.
      
              3) adds TEMPLATEDIR in Makefile.global that indicates where the
                 database templates are stored.  This separates the template files
                 from real libraries that are installed in $(LIBDIR).
              4) changes include order of <readline/readline.h> and <readline.h>.
                 The latest GNU readline installs its headers under a readline
                 subdirectory.
      
      In addition to applying the patch below the following files need to be copied:
      
              backend/port/dynloader:
                      bsd.h -> netbsd.h
                      bsd.c -> netbsd.c
              include/port:
                      bsd.h -> netbsd.h
              makefiles:
                      Makefile.bsd -> Makefile.netbsd
      
      It would be great to see this incorporated into the source tree before
      the 7.0 release is cut.
      
              Thanks!
      
           -- Johnny C. Lam <lamj@stat.cmu.edu>
      f43ec05d
  22. 09 Dec, 1999 1 commit
  23. 13 Oct, 1999 1 commit
    • Bruce Momjian's avatar
      Hi, · c3ac9f07
      Bruce Momjian authored
      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
      c3ac9f07
  24. 27 Sep, 1999 1 commit
  25. 16 Jul, 1999 1 commit
  26. 15 Jul, 1999 1 commit
  27. 08 Jul, 1999 1 commit
  28. 30 Jun, 1999 1 commit
  29. 19 May, 1999 1 commit
  30. 17 May, 1999 1 commit
    • Marc G. Fournier's avatar
      · a0b7daa1
      Marc G. Fournier authored
      Apply freebsd specific patches dealign with ELF system from FreeBSD's
      ports collection ...
      a0b7daa1
  31. 30 Apr, 1999 1 commit
  32. 14 Mar, 1999 1 commit
    • Bruce Momjian's avatar
      We have tested the patches on three platforms: · aba8c12f
      Bruce Momjian authored
      NetBSD/macppc
      LinuxPPC
      FreeBSD 2.2.6-RELEASE
      
      All of them seem happy with the regression test. Note that, however,
      compiling with optimization enabled on NetBSD/macppc causes an initdb
      failure (other two platforms are ok). After checking the asm code, we
      are suspecting that might be a compiler(egcs) bug.
      
      Tatsuo Ishii
      aba8c12f
  33. 17 Jan, 1999 1 commit
  34. 30 Nov, 1998 1 commit
  35. 12 Nov, 1998 1 commit
  36. 31 Oct, 1998 1 commit
    • Marc G. Fournier's avatar
      · 15d61bb4
      Marc G. Fournier authored
      Minor FreeBSD fixes put in place
      
      From: SHIOZAKI Takehiko <takehi-s@ascii.co.jp>
      
      I tried snapshot(Oct30) and made some patches.
      # I think that it is confused to manage both Makefile.shlib and
      # makefiles/Makefile.*, don't you?
      
      * configure
              Now FreeBSD 2.X is not supported..., so I added its entry.
              If ELF_SYSTEM is set, gmake treat it defined even though
              it is "false".  So nothing should be set to use "ifdef".
              BSD_SHLIB etc. may have same problems.
      
      * Makefile.shlib
              As you said, FreeBSD entry is much like BSD's.
              I only added ELF_SYSTEM code.
      
      * makefiles/Makefile.freebsd
              Ifdef/else/endif can not be indented with TABs.
      15d61bb4