Gmail Calendari Documents Fotos Web més »
Grups visitats recentment | Ajuda | Registra-t'hi
Pàgina d'inici de Grups de Google
Android x86?
Actualment hi ha massa temes en aquest grup que es mostren en primer lloc. Per fer que aquest tema aparegui en primer lloc, elimineu aquesta opció d'un altre tema.
S'ha produït un error en processar la teva sol·licitud. Torna-ho a provar.
marca
  Missatges 1 - 25 de 92 - 91 nous - Contreure-ho tot  -  Tradueix-ho tot a Traduït (Visualitza tots els originals)   Més nou >
El grup a què estàs enviant el missatge és un grup d'Usenet. Els missatges enviats a aquest grup permeten que la teva adreça electrònica sigui visible per qualsevol usuari d'Internet.
El teu missatge de resposta no s'ha enviat.
El teu missatge s'ha enviat correctament
 
De:
A:
Cc:
Seguiment a:
Afegeix Cc | Afegeix Seguiment a | Edita l'assumpte
Assumpte:
Validació:
Per motius de verificació, escriu els caràcters que veus a la imatge següent o els números que sentiràs si fas clic a la icona d'accessibilitat. Escolteu i teclegeu els nombres que sentiu
 
David Simmons  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
(1 usuari)  Més opcions 21 Oct 2008, 18:44
De: David Simmons <simm...@davidsimmons.com>
Data: Tue, 21 Oct 2008 09:44:42 -0700 (PDT)
Local: Dm 21 Oct 2008 18:44
Assumpte: Android x86?
Has anyone looked into what it would take to port Android to x86?  I'm
interested in taking a crack at porting Android to an x86-based
embedded platform I work with.  I'm going to download the source later
today and have a look.  My main concern is that Dalvik may be tied to
special ARM optimizations...

David


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
Srinath T V  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 21 Oct 2008, 22:41
De: Srinath T V <mailtosrin...@gmail.com>
Data: Tue, 21 Oct 2008 13:41:59 -0700 (PDT)
Local: Dm 21 Oct 2008 22:41
Assumpte: Re: Android x86?
By porting to X86, do you mean running on smart devices like PDA and
others?

I was also looking at porting into some special hardware and add
specific applications on top of it. I assume that android does a
pretty good job of doing power management and would like to see how it
performs compared to other special OS.

Srinath

On Oct 21, 11:44 am, David Simmons <simm...@davidsimmons.com> wrote:


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
Zach Hobbs  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 21 Oct 2008, 23:10
De: Zach Hobbs <ho...@helloandroid.com>
Data: Tue, 21 Oct 2008 17:10:35 -0400
Local: Dm 21 Oct 2008 23:10
Assumpte: Re: [android-porting] Re: Android x86?
I'd like to port it to x86 to have the dalvik virtual machine running directly
on my linux PC instead of having it run in qemu emulating the ARM arch.

Any idea where to get started with this?  Obviously it's ok if most (all) of
the telephony features don't work...

--

Zach Hobbs
HelloAndroid.com
Android OS news, tutorials, downloads

On Tuesday 21 October 2008 4:41:59 pm Srinath T V wrote:


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
Jay Freeman (saurik)  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 21 Oct 2008, 23:17
De: "Jay Freeman \(saurik\)" <sau...@saurik.com>
Data: Tue, 21 Oct 2008 14:17:59 -0700
Local: Dm 21 Oct 2008 23:17
Assumpte: Re: [android-porting] Re: Android x86?
I believe the magic step two between "step one: download code" and "step
three: profit" is just "build code". It seems to already be ported quite
well to x86, and even has user-space reimplementations of kernel extensions
like ashmem ready to go. -J

--------------------------------------------------
From: "Zach Hobbs" <ho...@helloandroid.com>
Sent: Tuesday, October 21, 2008 2:10 PM
To: <android-porting@googlegroups.com>
Subject: [android-porting] Re: Android x86?


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
Brian Swetland  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 22 Oct 2008, 02:22
De: Brian Swetland <swetl...@google.com>
Data: Tue, 21 Oct 2008 17:22:41 -0700
Local: Dc 22 Oct 2008 02:22
Assumpte: Re: [android-porting] Re: Android x86?
["Jay Freeman (saurik)" <sau...@saurik.com>]

> I believe the magic step two between "step one: download code" and "step
> three: profit" is just "build code". It seems to already be ported quite
> well to x86, and even has user-space reimplementations of kernel extensions
> like ashmem ready to go. -J

Be aware that the SIMULATOR target (where the system sorta builds a
single big linux app) is deprecated and has a lot of problems.

That said, it should be possible to get things running on x86.  We've
had somebody in-house tinkering with an x86 native port but he's on
vacation this week, so I'm not sure what the state of that is.

Brian


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
Jay Freeman (saurik)  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 22 Oct 2008, 02:35
De: "Jay Freeman \(saurik\)" <sau...@saurik.com>
Data: Tue, 21 Oct 2008 17:35:50 -0700
Local: Dc 22 Oct 2008 02:35
Assumpte: Re: [android-porting] Re: Android x86?
Fair enough. I got a lot of Dalvik compiling on x86 before starting on it
with my iPhone toolchain, and it at least /seemed/ complete ;P. I didn't
actually bother getting it to a runnable state or I might have noticed that
it actually wasn't. (I'm on 64-bit Debian and I didn't want to spend the
time installing 32-bit libcrypto so I could finish my -m32 build of it all.)

I had completely bypassed the build environment (I usually do so on my first
pass through so I can better isolate build environment challenges from code
challenges and also get a feel for how the codebase is organized). If it, in
fact, isn't already setup for this then other people may find that useful to
dig into things faster, so here is that script. I believe the only thing
between this and linking is having the native libcore parts compiled in
(which had enough random dependencies that I figured I'd bail before I ran
into 32-bit compatibility hell ;P, example: libcrypto).

-J

#!/bin/bash
set -e

libdex=(dalvik/libdex/*.c)
liblog=(system/core/liblog/logd_write.c)
libcutils=(system/core/libcutils/{ashmem-host,atomic,dlmalloc_stubs,mspace} .c)
bionic=(bionic/libc/bionic/dlmalloc.c)
vm=(dalvik/vm/{.,alloc,analysis,arch/generic,interp,jdwp,mterp,oo,reflect,t est}/*.c)
vm[${#vm[@]}]=dalvik/vm/mterp/out/InterpC-desktop.c
libnativehelper=(dalvik/libnativehelper/*.c)
libcore=($(find dalvik/libcore -name '*.c'))

include=(-Idalvik -Iframeworks/base/include -Isystem/core/include -Iexternal/safe-iop/include
 -Idalvik/libnativehelper/include/nativehelper -Idalvik/vm -Iexternal/icu4c/common
 -Iexternal/icu4c/i18n)

define[${#define[@]}]=-include
gcc='gcc -m32'
define[${#define[@]}]=system/core/include/arch/linux-x86/AndroidConfig.h
define[${#define[@]}]=dalvik/vm/mterp/out/InterpAsm-desktop.S

${gcc} -o dalvikvm dalvik/dalvikvm/*.c "${libcutils[@]}"
"${libnativehelper[@]}" "${bionic[@]}" "${libdex[@]}" "${vm[@]}"
"${liblog[@]}" "${include[@]}" "${define[@]}" -lm -pthread -ldl -lz -lffi
${gcc} -o dexdump dalvik/dexdump/*.c "${liblog[@]}" "${libdex[@]}"
"${include[@]}" "${define[@]}" -lz

-J

--------------------------------------------------
From: "Brian Swetland" <swetl...@google.com>
Sent: Tuesday, October 21, 2008 5:22 PM
To: <android-porting@googlegroups.com>
Subject: [android-porting] Re: Android x86?


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
Joe Onorato  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 22 Oct 2008, 02:39
De: "Joe Onorato" <j...@android.com>
Data: Tue, 21 Oct 2008 17:39:48 -0700
Local: Dc 22 Oct 2008 02:39
Assumpte: Re: [android-porting] Re: Android x86?

The x86 port is on a different branch that we haven't released yet, that has
a bunch of other experimental and future work.  What's out there right now
is pretty close to what's on the G1.
We'll have that out soon hopefully, but I don't know about the time frame
for sure.  We'll probably let what's out there settle down before we try to
do that integration.  It'll be a fair bit of work to get that branch synced
up with what we released.

-joe


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
fadden  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 23 Oct 2008, 18:06
De: fadden <thefad...@gmail.com>
Data: Thu, 23 Oct 2008 09:06:30 -0700 (PDT)
Local: Dj 23 Oct 2008 18:06
Assumpte: Re: Android x86?
On Oct 21, 5:35 pm, "Jay Freeman \(saurik\)" <sau...@saurik.com>
wrote:

> Fair enough. I got a lot of Dalvik compiling on x86 before starting on it
> with my iPhone toolchain, and it at least /seemed/ complete ;P. I didn't
> actually bother getting it to a runnable state or I might have noticed that
> it actually wasn't. (I'm on 64-bit Debian and I didn't want to spend the
> time installing 32-bit libcrypto so I could finish my -m32 build of it all.)

The only part of Dalvik that isn't portable is the JNI call bridge
(see dalvik/vm/arch directory).  We currently use libffi for that on
non-ARM platforms, which is a bit of a performance drag, but on most
non-ARM platforms you don't care as much. :-)  I can confirm that it
runs well on x86, and once upon a time we had it running on PPC (which
is mostly interesting because it's big-endian).

The VM runtime has very few external dependencies.  The core libraries
have a bit more reach. :-)


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
kapare  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 23 Oct 2008, 18:52
De: kapare <kevyn.alexandre.p...@gmail.com>
Data: Thu, 23 Oct 2008 09:52:13 -0700 (PDT)
Local: Dj 23 Oct 2008 18:52
Assumpte: Re: Android x86?
Nice

Can you give me clue or example of how to compile the dalvik for x86
or PPC.

simple command line

thx

On Oct 23, 12:06 pm, fadden <thefad...@gmail.com> wrote:


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
fadden  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
(6 usuaris)  Més opcions 24 Oct 2008, 01:26
De: fadden <thefad...@gmail.com>
Data: Thu, 23 Oct 2008 16:26:42 -0700 (PDT)
Local: Dv 24 Oct 2008 01:26
Assumpte: Re: Android x86?
On Oct 23, 9:52 am, kapare <kevyn.alexandre.p...@gmail.com> wrote:

> Can you give me clue or example of how to compile the dalvik for x86
> or PPC.

Start with:

  . build/envsetup.sh
  lunch 2

This configures you to build for the desktop, linking against glibc.
This mode is NOT recommended for anything but experimental use.  It
may go away.  Don't use it; forget you saw it.  Thanks.

Build the world:

  make

When that completes, you have a working dalvikm on your desktop
machine:

% dalvikvm
E/dalvikvm(19521): ERROR: must specify non-'.' bootclasspath
W/dalvikvm(19521): JNI_CreateJavaVM failed
Dalvik VM init failed (check log file)

To actually do something, you need to specify the bootstrap class path
and give it a place to put DEX data that it uncompresses from jar
files.  You can do that with a script like this:

----- snip & save -----
#!/bin/sh

# base directory, at top of source tree; replace with absolute path
base=`pwd`

# configure root dir of interesting stuff
root=$base/out/debug/host/linux-x86/product/sim/system
export ANDROID_ROOT=$root

# configure bootclasspath
bootpath=$root/framework
export BOOTCLASSPATH=$bootpath/core.jar:$bootpath/ext.jar:$bootpath/
framework.jar:$bootpath/android.policy.jar:$bootpath/services.jar

# this is where we create the dalvik-cache directory; make sure it
exists
export ANDROID_DATA=/tmp/dalvik_$USER
mkdir -p $ANDROID_DATA/dalvik_cache

exec dalvikvm $@
-----

Of course, you can't just run this against javac output, since it's
not a Java VM.  You have to run your class files through "dx":

  % cat > Foo.java
  class Foo { public static void main(String[] args) {
    System.out.println("Hello, world");
  } }
  (ctrl-D)
  % javac Foo.java
  % dx --dex --output=foo.jar Foo.class
  % ./rund -cp foo.jar Foo
  Hello, world
  I/dalvikvm(19564): DestroyJavaVM shutting VM down

(I really ought to get rid of that DestroyJavaVM line -- it's supposed
to be in the log file, but on the desktop the "log file" is stderr.)

Get some info about valid arguments like this:

  % ./rund -help

This also shows what options the VM was configured with.  The "lunch
2" build has all sorts of additional assertions and checks enabled,
which slows the VM down, but since this is just for experiments it
doesn't matter.

All of the above applies to x86 Linux.  Anything else will likely
require a porting effort.


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
Filipe Abrantes  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 29 Oct 2008, 16:55
De: Filipe Abrantes <filipe.abran...@gmail.com>
Data: Wed, 29 Oct 2008 08:55:23 -0700 (PDT)
Local: Dc 29 Oct 2008 16:55
Assumpte: Re: Android x86?
Sorry for the basic question, but what is the lunch command, I've
looked for it in the android tree and google it but was unable to find
any meaningful reference.

Thanks,
Filipe

On Oct 23, 11:26 pm, fadden <thefad...@gmail.com> wrote:


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
Filipe Abrantes  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 29 Oct 2008, 16:59
De: Filipe Abrantes <filipe.abran...@gmail.com>
Data: Wed, 29 Oct 2008 08:59:59 -0700 (PDT)
Local: Dc 29 Oct 2008 16:59
Assumpte: Re: Android x86?
Sorry, I just realised "lunch 2" are the arguments of the envsetup
script :~, nice :P

Cheers,
Filipe

On Oct 23, 11:26 pm, fadden <thefad...@gmail.com> wrote:


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
Jim Ancona  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 30 Oct 2008, 02:28
De: Jim Ancona <j...@anconafamily.com>
Data: Wed, 29 Oct 2008 18:28:44 -0700 (PDT)
Local: Dj 30 Oct 2008 02:28
Assumpte: Re: Android x86?

On Oct 23, 7:26 pm, fadden <thefad...@gmail.com> wrote:

When I try this (on Ubuntu 8.04, 32 bit), I get a bunch of errors
similar to this:

out/debug/host/linux-x86/product/sim/obj/SHARED_LIBRARIES/
libmedia_intermediates/mediametadataretriever.o:/media/disk/jim/
projects/mydroid/external/skia/include/corecg/SkMath.h:180: more
undefined references to `Android_SkDebugf(char const*, int, char
const*, char const*, ...)' follow
collect2: ld returned 1 exit status
make: *** [out/debug/host/linux-x86/product/sim/obj/SHARED_LIBRARIES/
libmedia_intermediates/LINKED/libmedia.so] Error 1

I can fix them by adding

LOCAL_SHARED_LIBRARIES += libcorecg

to the relevant Android.mk files, but I'm curious if anyone else is
seeing this, or if this is a problem with my environment.

Thanks,

Jim


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
freedom  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 30 Oct 2008, 07:54
De: freedom <koansin....@gmail.com>
Data: Wed, 29 Oct 2008 23:54:53 -0700 (PDT)
Local: Dj 30 Oct 2008 07:54
Assumpte: Re: Android x86?

I ran into similar problem, too. And yes, something similar to
  LOCAL_SHARED_LIBRARIES += libcorecg
can solve it.

On Oct 30, 9:28 am, Jim Ancona <j...@anconafamily.com> wrote:


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
linphusen@gmail.com  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 30 Oct 2008, 10:24
De: "linphu...@gmail.com" <linphu...@gmail.com>
Data: Thu, 30 Oct 2008 02:24:20 -0700 (PDT)
Local: Dj 30 Oct 2008 10:24
Assumpte: Re: Android x86?

I have complied the source code for x86 platform,and it seems that it
comlied successfully,but has problems in link libz.so.
the result shows as follow:
============================================
TARGET_PRODUCT=generic
TARGET_SIMULATOR=true
TARGET_BUILD_TYPE=release
TARGET_ARCH=x86
TARGET_OS=linux
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=TC3
=========================================================================== =============
TARGET_PRODUCT=generic
TARGET_SIMULATOR=true
TARGET_BUILD_TYPE=release
TARGET_ARCH=x86
TARGET_OS=linux
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=TC3
============================================
target SharedLib: libz (out/host/linux-x86/product/generic/obj/
SHARED_LIBRARIES/libz_intermediates/LINKED/libz.so)
make: *** No rule to make target `build/core/prelink-linux-x86.map',
needed by `out/host/linux-x86/product/generic/symbols/system/lib/
libz.so'.  Stop.target SharedLib: libz (out/host/linux-x86/product/
generic/obj/SHARED_LIBRARIES/libz_intermediates/LINKED/libz.so)
make: *** No rule to make target `build/core/prelink-linux-x86.map',
needed by `out/host/linux-x86/product/generic/symbols/system/lib/
libz.so'.  Stop.

there is not "prelink-linux-x86.map"  in "build/core/" actually but
just the "prelink-linux-x86.arm". Is the "prelink-linux-x86.map
"created automatically?
 so any ideas?


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
Filipe Abrantes  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 30 Oct 2008, 11:37
De: Filipe Abrantes <filipe.abran...@gmail.com>
Data: Thu, 30 Oct 2008 10:37:59 +0000
Local: Dj 30 Oct 2008 11:37
Assumpte: Re: [android-porting] Re: Android x86?
same here...

Cheers,
Filipe


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
dannie  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 30 Oct 2008, 12:11
De: dannie <dannie....@gmail.com>
Data: Thu, 30 Oct 2008 04:11:35 -0700 (PDT)
Local: Dj 30 Oct 2008 12:11
Assumpte: Re: Android x86?
Got the same errors with LOCAL_SHARED_LIBRARIES,
fixed them and it seems all was compiled/linked successfully.

Ubuntu 8.04

============================================
TARGET_PRODUCT=sim
TARGET_SIMULATOR=true
TARGET_BUILD_TYPE=debug
TARGET_ARCH=x86
TARGET_OS=linux
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=TC3
============================================


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
dannie  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 30 Oct 2008, 12:28
De: dannie <dannie....@gmail.com>
Data: Thu, 30 Oct 2008 04:28:53 -0700 (PDT)
Local: Dj 30 Oct 2008 12:28
Assumpte: Re: Android x86?
I'm getting the following error when trying to run dalvik:

~/temp/and$ ./rund -cp foo.jar Foo
E/dalvikvm(  313): Can't open dex cache '/tmp/dalvik_dannie/dalvik-
cache/home@dannie@temp@and@system@framew...@core.jar@classes.dex': No
such file or directory
I/dalvikvm(  313): Unable to open or create cache for /home/dannie/
temp/and/system/framework/core.jar
W/dalvikvm(  313): JNI_CreateJavaVM failed
Dalvik VM init failed (check log file)

But... why? =)

On Oct 30, 2:11 pm, dannie <dannie....@gmail.com> wrote:


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
Filipe Abrantes  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 30 Oct 2008, 14:11
De: Filipe Abrantes <filipe.abran...@gmail.com>
Data: Thu, 30 Oct 2008 06:11:10 -0700 (PDT)
Local: Dj 30 Oct 2008 14:11
Assumpte: Re: Android x86?
Hi, its a small typo on the rund script, just replace

mkdir -p $ANDROID_DATA/dalvik_cache

with

mkdir -p $ANDROID_DATA/dalvik-cache

and it will (hopefully :P) run

Cheers,
Filipe

On Oct 30, 11:28 am, dannie <dannie....@gmail.com> wrote:


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
dannie  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 30 Oct 2008, 14:25
De: dannie <dannie....@gmail.com>
Data: Thu, 30 Oct 2008 06:25:41 -0700 (PDT)
Local: Dj 30 Oct 2008 14:25
Assumpte: Re: Android x86?
What's a weird mistake! =)

./rund -cp foo.jar Foo
Hello, world
I/dalvikvm(26218): DestroyJavaVM shutting VM down

So... It's working.

On Oct 30, 4:11 pm, Filipe Abrantes <filipe.abran...@gmail.com> wrote:


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
freedom  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 30 Oct 2008, 14:53
De: freedom <koansin....@gmail.com>
Data: Thu, 30 Oct 2008 06:53:15 -0700 (PDT)
Local: Dj 30 Oct 2008 14:53
Assumpte: Re: Android x86?

a quick fix to the problem is "choosetype release" after
"lunch 2" because in release mode "SkDebugf()" is an
empty function instead of "Android_SkDebugf()"

On Oct 30, 9:28 am, Jim Ancona <j...@anconafamily.com> wrote:


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
Filipe Abrantes  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 5 Nov 2008, 15:34
De: Filipe Abrantes <filipe.abran...@gmail.com>
Data: Wed, 5 Nov 2008 06:34:16 -0800 (PST)
Local: Dc 5 Nov 2008 15:34
Assumpte: Re: Android x86?
Hi all,

The target simulator compilation method for x86 works and we are able
to run dalvik. However I am trying to compile android with all its
components natively for x86. To do so I set up the repo thing as
usually and then run make (without any "lunch") as

make TARGET_ARCH=x86

it goes through quite a few modules but eventually it complains about
the lack of rule to make emulator. I dig through a few files in build/
(core and others) to try to understand how I could change this but I
was not successfull. The output error is:

Install: out/host/linux-x86/bin/dexlist
host Prebuilt: dexpreopt (out/host/linux-x86/obj/EXECUTABLES/
dexpreopt_intermediates/dexpreopt.py)
make: *** No rule to make target `out/host/linux-x86/bin/emulator',
needed by `out/host/linux-x86/bin/dexpreopt.py'.  Stop.

Any help is much appreciated, Cheers,
Filipe

On Oct 30, 1:53 pm, freedom <koansin....@gmail.com> wrote:


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
freedom  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 7 Nov 2008, 10:22
De: freedom <koansin....@gmail.com>
Data: Fri, 7 Nov 2008 01:22:41 -0800 (PST)
Local: Dv 7 Nov 2008 10:22
Assumpte: Re: Android x86?

Try
  make TARGET_ARCH=x86 TARGET_BUILD_TYPE=release TARGET_PRODUCT=sim

On Nov 5, 10:34 pm, Filipe Abrantes <filipe.abran...@gmail.com> wrote:


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
Filipe Abrantes  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 7 Nov 2008, 12:32
De: Filipe Abrantes <filipe.abran...@gmail.com>
Data: Fri, 7 Nov 2008 03:32:56 -0800 (PST)
Local: Dv 7 Nov 2008 12:32
Assumpte: Re: Android x86?
Ok, but that will compile for the target 'SIMULATOR' right? My idea
was compile everything for an x86 device. I don't fully understand the
differences between the simulator target and the other ones... for
instance I understand that on the simulator target dalvik is compiled
against the 'standard' glibc but what else is different?

Cheers,
Filipe

On Nov 7, 9:22 am, freedom <koansin....@gmail.com> wrote:


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
Brian Swetland  
Veure perfil   Tradueix-ho a Traduït (Visualitza l'original)
 Més opcions 7 Nov 2008, 12:36
De: Brian Swetland <swetl...@google.com>
Data: Fri, 7 Nov 2008 03:36:40 -0800
Local: Dv 7 Nov 2008 12:36
Assumpte: Re: [android-porting] Re: Android x86?
[Filipe Abrantes <filipe.abran...@gmail.com>]

> Ok, but that will compile for the target 'SIMULATOR' right? My idea
> was compile everything for an x86 device. I don't fully understand the
> differences between the simulator target and the other ones... for
> instance I understand that on the simulator target dalvik is compiled
> against the 'standard' glibc but what else is different?

The SIMULATOR target tries to build the entire system more like an
application.  Things don't really run in multiple processes.  A lot of
things don't work the way they would on a real devices.  It still exists
as a debugging aid (you can run it all under valgrind which is kinda
handy at times) but it's deprecated and will be going away (as soon as
we get valgrind type functionality with the emulator or on-device).  It
is the source of a lot of cruft in the build.


    Reenvia  
Has d'entrar abans de poder publicar missatges.
Per poder enviar un missatge has de subscriure't a aquest grup.
Indica el teu nom d'usuari a Preferències del teu compte abans d'escriure.
No tens el permís necessari per escriure un tema.
Missatges 1 - 25 de 92   Més nou >
« Torna als debats « Tema més recent

Crea un grup - Grups de Google - Inici de Google - Termes de Servei - Normes de privadesa
©2010 Google