On Fri, Mar 26, 2010 at 11:41 PM, Sander Temme <[email protected]> wrote:
>
> On Mar 26, 2010, at 12:36 PM, Rajwinder-office Singh wrote:
>
>> 1. I downloaded apache source
>> 2. compiled on solaris 10 sparc
>
> When you ran ./configure, it should have a host, build and target 
> architecture triplet that comes out of config.guess/config.sub (included in 
> the source).  This designates how your server is to be built: you can 
> override what ./configure does by adding a --target flag.  For instance, you 
> could say sparc64 instead of sparc.  Then the server and its libraries will 
> be built 64bits.
>
> I am not sure about the exact invocation: do experiment.

FWLIW, I do

CC="cc -m64" ./configure --opts...

to build 64-bit on Solaris (SPARC or x86) with recent Sun Studio.

(with older versions of Sun Studio the option is something like -arch=sparcv9)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [email protected]
   "   from the digest: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to