From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Stefan Lindner <lindner(at)visionet(dot)de> |
Cc: | PostgreSQL odbc list <pgsql-odbc(at)postgresql(dot)org> |
Subject: | Re: [PATCHES] PostgreSQL 7.2.1 and Sun's C compiler under Solaris8 |
Date: | 2002-08-26 00:38:57 |
Message-ID: | 200208260038.g7Q0cvd25284@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc pgsql-patches |
Have we dealt with this? I still see _fini and _init in the code.
---------------------------------------------------------------------------
Stefan Lindner wrote:
> Hi,
>
> PostgreSQL works well with this combination but with one modification:
>
> It will not compile with SunC Version 5.3 (no experience with other
> versions) unless
> you make the following change in file psqlodbc.c: remove the functions
> "_init" and "_fini". The crt.o library of Sun's C compiler contains this
> functions.
> This could be done by adding lines like
>
> #if !defined (__SUNPRO_C)
> ...
> #endif
>
> The attachement is a modified version of psqlodbc according to this
> suggestion
>
>
> Stefan Lindner
> ---
> Visionet GmbH, Am Weichselgarten 7, 91058 Erlangen
> Tel.: 09131/691230, FAX:09131/691111
> mailto:lindner(at)visionet(dot)de, http://www.visionet.de
>
> Beware of bugs in the above code; I have only proved it correct, not
> tried it. (Donald E. Knuth)
Content-Description: psqlodbc.c
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-08-26 00:41:55 | Re: [PATCHES] PostgreSQL 7.2.1 and Sun's C compiler under Solaris8 |
Previous Message | Athens Yan | 2002-08-24 16:40:09 | Catastrophic failure |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-08-26 00:41:55 | Re: [PATCHES] PostgreSQL 7.2.1 and Sun's C compiler under Solaris8 |
Previous Message | Nigel J. Andrews | 2002-08-26 00:15:10 | Re: [HACKERS] TODO Done. Superuser backend slot reservations |