From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Bill(dot)Allie(at)mug(dot)org |
Cc: | hackers(at)postgreSQL(dot)org, pgsql-patches(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] postgreSQL 6.4 patches |
Date: | 1998-09-13 04:00:45 |
Message-ID: | 199809130400.AAA25450@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Applied
> Here are some additional patches needed to get the UnixWare 7 C++ compiler to
> attempt to compile libpq++. The patches address the following problems:
>
> 1. In my first pass at changing the libpq++ makefile, I forgot to include the
> PORTNAME in the Makefile.in file.
>
> 2. The UnixWare 7 C++ compiler did not like the '-K alloca' option in
> CXXFLAGS.
> Unfortunately, the '-K alloca' option is needed in CFLAGS (from which
> CXXFLAGS is dereived). My solution was to redefine the COMPILE.cc macro
> for the unixware (and univel) port when the compiler is not g++ so that the
> '-K alloca' option is removed.
>
> 3. The '-Xa' and '-v' options were removed from the CFLAGS entry in the
> unixware template. The '-Xa' option is a default and was not compatable
> with the C++ compiler. The '-v' option turns on verbose mode in the
> compiler and (IMHO) should not be in CFLAGS by default.
>
> The good news is that the C++ compiler will execute correctly when (g)make
> runs.
>
> The bad news is that the C++ compiler is unable to compile the source because
> it does not have a full implementation of 'string'. As the problem is related
> to the compiler and not the implementation of libpq++, I will not (at this
> time) continue trying to compile libpq++ on UnixWare. If libpq++ is needed,
> then postgreSQL for UnixWare will have to be compiled with gcc/g++.
>
Content-Description: uw7p5.patch
[Attachment, skipping...]
> ____ | Billy G. Allie | Domain....: Bill(dot)Allie(at)mug(dot)org
> | /| | 7436 Hartwell | Compuserve: 76337,2061
> |-/-|----- | Dearborn, MI 48126| MSN.......: B_G_Allie(at)email(dot)msn(dot)com
> |/ |LLIE | (313) 582-1540 |
--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas G. Lockhart | 1998-09-13 05:07:06 | libpq++ shared library missing? |
Previous Message | Gene Selkov Jr. | 1998-09-13 03:38:12 | ERROR: cannot create index |