httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Huseyin OZYURT <hozy...@hacettepe.edu.tr>
Subject Re: [users@httpd] 64-bit Apache
Date Thu, 25 Mar 2004 09:52:05 GMT
David Tiselius wrote:

> Is it possible (and if so recomended) to build httpd (2.0.49) as a 
> 64-bit binary? I'm on Solaris 5.9 and using gcc3.3.2. It will serve 
> both static content as well as PHP and cgis.
> Any thoughts? I've found nothing googleing...
>
> /David
>
>
> ---------------------------------------------------------------------
> 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: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
hi david;
i installed apache and php as 64 bits on web server but i used sun forte 
compiler.but i installed 64 bits gcc on server.

gcc 64 bits:

mkdir gcc-3.2.3-sparc-64-bits-obj

cd gcc-3.2.3-sparc-64-bits-obj

../gcc-3.2.3/configure –prefix=/usr/local/gcc64 –enable-languages=c 
sparcv9-sun-solaris2

make

make install

apache and php 64 bits.
apache:
CFLAGS=' -xparallel -fast -xtarget=ultra -xarch=v9' LDFLAGS='-xparallel 
-fast -xarch=v9 -L/usr/local/lib -L/usr/lib/sparcv9 
-L/opt/SUNWspro/lib/v9 -L/usr/ucblib/sparcv9 -I/usr/include 
-I/usr/local/include -I/usr/include/v9/sys -R/usr/local/lib' 
CC=/opt/SUNWspro/bin/cc ./configure

php:
CFLAGS="-xparallel -fast -xtarget=ultra -xarch=v9" LDFLAGS="-xparallel 
-fast -xarch=v9 -L/export/home/oracle/805/lib64 
-L/export/home/oracle/805/rdbms/lib64 -L/usr/local/lib/pgsql/lib 
-L/usr/local/gcc64v/lib/sparcv9 -L/usr/local/lib/sparcv9 
-L/usr/lib/sparcv9 -L/opt/SUNWspro/lib/v9 -L/usr/ucblib/sparcv9 
-I/export/home/oracle/805/rdbms/demo -I/usr/include -I/usr/local/include 
-I/usr/include/v9/sys -R/usr/local/lib" CC=/opt/SUNWspro/bin/cc ./configure




---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message