[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: How can I build openldap on 64-bit machie?

I ran into trouble getting CFLAGS to be passed on properly to libtool for
some overlays or something.  I eventually gave up and put everything in my
CC definition.

On UltraSparc III (sparcv9):
CC="/opt/SUNWspro/bin/cc -g -xtarget=ultra -xarch=v9 -xc99=%none"

On Mon, 12 Dec 2005, Aaron Richton wrote:

>If you point autoconf to a compiler that produces 64-bit executables, and
>you have a 64-bit chain ready (64-bit bdb, for instance), you will produce
>64-bit OpenLDAP software. However, your example of a 64-bit cc appears
>dubious. Perhaps you want something along the lines of
>CFLAGS='-xarch=v9 -g -xs' CC='/opt/SUNWspro/bin/cc' ./configure [...]
>Please ask your compiler vendor if you need help with that, as "cc" is
>not OpenLDAP software.
>> Does openldap support 64-bit machine perfectly?
>As perfectly as it supports any other architecture, more or less. I
>produce and regularly run the test suite against a sparcv9 binary, and
>usually file an ITS when it doesn't work (a rare situation lately). But I
>don't use it in production.

Eric Irrgang - UT Austin ITS Unix Systems - (512)475-9342