Did you try man cc ?

I believe it's -m64 as well.


On 15 February 2010 11:52, Agrawal, Pankaj <Pankaj.Agrawal@ca.com> 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.



From: Gavin Sherry [mailto:swm@alcove.com.au]
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.


On 15 February 2010 07:20, Agrawal, Pankaj <Pankaj.Agrawal@ca.com> 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?