At 16:06 27/01/2008 -0600, Darrick Hartman (lists) wrote:
>I've added optional sqlite support to php.  If you select the sqlite 
>package, it will also build sqlite support into php.  This is disabled by 
>default.

I did both: Compiling SQLite as a library, and added "--with-sqlite" in 
PHP5.mk file. But what I meant, is that it's gonna be hard to cross-compile 
my progs in C on CentOS and copy them in AstLinux, as the libraries and 
processor are different.

I ran "ldd myprog.exe" to check which dynamic libraries it used, then 
simply copie them in /lib on AstLinux, but it fails with "wrong 
instruction". I don't know if it's because of the diference in libraries 
(libc6 on CentOS vs. uClinux's libc on AstLinux), or the fact that I'm 
using an AMD i686 to run CentOS but a Pentium 233 to run AstLinux.

But anyway, I don't mind statically compiling the C programs. Once 
stripped, it only takes 500KB.

If you ran out of things to do, you could check how to compile the CGI and 
CLI versions of PHP ;-)

Thanks.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to