Re: Default APR sizes of size_t and ssize_t when cross compiling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Cross compilation generally won't work because of autoconf AP_RUN_
macros which test features dynamically.  dev@xxxxxxxxxxxxxx is a good
list to discuss working around these limitations.


Aizer Danny-BDA023 wrote:
> Hello,
> 
>  
> 
> Is this not the right mailing list for my
> cross-compilation/configuration of Apache Httpd question below? If so,
> can anyone please point me at the right Apache Httpd mailing list for
> this? I really need to understand this before attempting to modify this
> behaviour of the configure script.
> 
>  
> 
> Thanks,
> 
> /Danny
> 
>  
> 
> ------------------------------------------------------------------------
> 
> *From:* Aizer Danny-BDA023
> *Sent:* Monday, March 12, 2007 8:44 PM
> *To:* users@xxxxxxxxxxxxxxxx
> *Subject:*  Default APR sizes of size_t and ssize_t when
> cross compiling
> 
>  
> 
> Hello,
> 
>  
> 
> I am cross-compiling Apache HTTPD 2.2.3 on a Red Hat Linux 9 (the build
> machine) for a PowerPC 82xx embedded device. When I run the top-level
> configure script which runs among others the APR configure script, I
> notice that the sizeof size_t and ssize_t are being defaulted to "8"
> because the $cross_compiling variable is set to "yes". The same
> behaviour can be seen for other configure tests also: if the
> $cross_compiling variable is set (it is being set in the beginning
> because the BUILD and HOST options have been specified on the configure
> command-line), then various ac_cv_* variables get some default values
> (which in my case are not appropriate for the target HOST architecture
> of ppc_82xx) instead of running the cross-compiler to calculate the value.
> 
>  
> 
> Is this done on purpose? If so why? And how should I proceed if I want
> the configure script to correctly "conftest" all the needed values for
> my target HOST architecture? I've been searching in vain so far in FAQs,
> bug databases and the goonet, but I found no one with a similar problem
> (and a solution).
> 
>  
> 
> Thanks in advance,
> 
> /Danny
> 
>  
> 


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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux