* [Buildroot] HOWTO build a completely static php?
@ 2013-02-26 18:05 Bob Smith
2013-02-26 19:07 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Bob Smith @ 2013-02-26 18:05 UTC (permalink / raw)
To: buildroot
I would like to build a completely static executable for
php. What is the easiest way to do this?
A separate, but easier to solve problem, will be to add
a postgresql binding to it. The goal is to run it on an
Android system as a one-off project.
Thanks in advance.
Bob Smith
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] HOWTO build a completely static php?
2013-02-26 18:05 [Buildroot] HOWTO build a completely static php? Bob Smith
@ 2013-02-26 19:07 ` Thomas Petazzoni
2013-02-26 19:24 ` Bob Smith
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2013-02-26 19:07 UTC (permalink / raw)
To: buildroot
Dear Bob Smith,
On Tue, 26 Feb 2013 10:05:17 -0800, Bob Smith wrote:
> I would like to build a completely static executable for
> php. What is the easiest way to do this?
>
> A separate, but easier to solve problem, will be to add
> a postgresql binding to it. The goal is to run it on an
> Android system as a one-off project.
You don't have to build things statically to make things work in
Android. You can just add uClibc or glibc to Android, next to Bionic.
Just last week, Maxime Ripard and myself have helped Karim Yaghmour
integrate a root filesystem generated by Buildroot directly into
Android, it worked like a charm. Basically, just build a Buildroot
system as usual (select a tarball root filesystem image), and then
extract this tarball in the root directory of the Android filesystem.
Since a Linux filesystem and Android filesystem use completely
different paths for the libraries and binaries, it just works without
any problem.
Karim has written a small modification to the Android build system to
automate the integration of such a Buildroot generated filesystem. He
has said he will share this small piece of code, but I know he is busy
traveling at the moment, so he might takes a bit of time before it gets
published.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] HOWTO build a completely static php?
2013-02-26 19:07 ` Thomas Petazzoni
@ 2013-02-26 19:24 ` Bob Smith
0 siblings, 0 replies; 3+ messages in thread
From: Bob Smith @ 2013-02-26 19:24 UTC (permalink / raw)
To: buildroot
Thomas Petazzoni wrote:
> On Tue, 26 Feb 2013 10:05:17 -0800, Bob Smith wrote:
>> I would like to build a completely static executable for
>> php. What is the easiest way to do this?
> You don't have to build things statically to make things work in
> Android. You can just add uClibc or glibc to Android, next to Bionic.
D'oh! Right, thanks. I think this is what Karim called
a "meld" system.
http://www.opersys.com/downloads/cc-slides/embedded-android/embedded-android-120619.odp
thanks!
Bob Smith
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-02-26 19:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-26 18:05 [Buildroot] HOWTO build a completely static php? Bob Smith
2013-02-26 19:07 ` Thomas Petazzoni
2013-02-26 19:24 ` Bob Smith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox