Thanks.  I actually did manage to build it using a straight up compile/
link without using the android build system at all and was able to run
some basic stuff.

cheers,

Kris

On May 8, 3:50 pm, fadden <[email protected]> wrote:
> On May 8, 8:03 am, kewarken <[email protected]> wrote:
>
> > I'm trying to build the simulator lib for x86 and I'm running into
> > some strange problems, most of which seem related to header conflicts
> > between bionic libc and my host (ubuntu 9.04).
> [...]
> > Any ideas to help me keep moving?
>
> Thewrapsimlibrary is meant for running the simulator on a Linux
> workstation with glibc, not a device.  It fundamentally relies on the
> use of LD_PRELOAD to intercept system and library calls, and the
> Android dynamic linker doesn't have the first clue what LD_PRELOAD
> is.  So even if you manage to get it to compile and link against
> bionic, it's still not going to be useful.
>
> To build it you need to be configured for a "sim" build, not an x86
> device build.  With that, it'll compile and link against glibc.  Some
> details about using dalvikvm in the sim ("desktop") build are now in
> the source tree:
>
>  http://android.git.kernel.org/?p=platform/dalvik.git;a=blob_plain;f=d...
>
> The document describes the steps you need to take to configure the
> build.
>
> If you're really trying to build for an x86 device (e.g. eepc), there
> are some other threads about that.
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to