Did you try man cc ?

I believe it's -m64 as well.

Gavin

On 15 February 2010 11:52, Agrawal, Pankaj <[email protected]> wrote:

>  Gavin - I am using SUN Workshop C/C++ compiler. Which flags should we
> use?
>
>
>
> /opt/SUNWspro/bin/CC –v gives CC: Sun C++ 5.8 Patch 121017-19 2009/03/12.
>
>
>
> Thanks
>
> Pankaj
>
>
>
> *From:* Gavin Sherry [mailto:[email protected]]
> *Sent:* Monday, 15 February 2010 3:44 PM
> *To:* Agrawal, Pankaj
> *Cc:* APR Developer List
> *Subject:* Re: Build APR libs on UNIX in 64-bit
>
>
>
> If you're using GCC, you need to set CFLAGS to -m64.
>
> Gavin
>
> On 15 February 2010 07:20, Agrawal, Pankaj <[email protected]> wrote:
>
> Hi All,
>
> I need to build the APR libs (apr, aprutil and apriconv) on Solaris 10
> SPARC in 64-bit. I am unable to locate any information on what exact
> compiler flags need to be used for this.
>
> Any hints?
>
> Thanks
> Pankaj
>
>
>

Reply via email to