"J.F.Gratton" <[email protected]> wrote:

> Hello, I'm having some difficulties compiling an application (well.. Apache 
> 2.2.16) on my box.
>
> It seems to be configured to compile 32bits apps while my box is an amd64 and 
> the OS runs a 64bits kernel :
>
> some ./configure output :
> checking for APR... yes
>   setting CC to "cc -m32"
>   setting CPP to "cc -m32 -E"
>   setting CPPFLAGS to " -DSOLARIS2=11 -D_POSIX_PTHREAD_SEMANTICS -mt 
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
>   setting LDFLAGS to " "
>
> even if I specified to go for 64bits:
>  ./configure CFLAGS=-xarch=amd64 --prefix=/tools/apache2 (...)

This problem is related to "configure".....

Try to call CC="cc -m64" ./configure


Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
tools-compilers mailing list
[email protected]

Reply via email to