Skipping emulator build (for purpose of building on 32-bit hosts)

126 views
Skip to first unread message

Kiran Rao

unread,
Apr 26, 2012, 11:54:54 PM4/26/12
to android-...@googlegroups.com
According to this thread - since the emulator is moving to 64-bit, it will not longer be possible to build the android source on a 32-bit host.

My requirement is to be able to build just the media framework from a recent branch; and backport it to Android 2.2 or 2.3. I am using a 32-bit (Fedora Core 16) dev machine.

Questions:
  1. Can I somehow ignore the emulator part and build the rest of the framework on this 32-bit machine?
  2. Or, if I check out the older branches, can I still build all of it on my 32-bit machine? If so, how do I know the latest branch/tag that can be built on a 32-bit host?

Jean-Baptiste Queru

unread,
Apr 27, 2012, 11:38:11 AM4/27/12
to android-...@googlegroups.com
You should be able to skip building specific modules by just deleting
them from the source tree (assuming that nothing depends on them). The
emulator is (mostly) in external/qemu.

The last version to officially support 32-bit hosts was Froyo (2.2).
Early versions of Gingerbread didn't work on 32-bit at all, later
versions might have worked experimentally but I'm not sure.

JBQ
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en



--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

mark gross

unread,
Apr 27, 2012, 2:25:40 PM4/27/12
to android-...@googlegroups.com
FWIW I recall building froyo on 64 bit hosts.  10.04LTS 64 bit, in fact.

Maybe you should consider using a better tested / supported host OS.

--mark
create interesting things.

Jean-Baptiste Queru

unread,
Apr 27, 2012, 2:33:19 PM4/27/12
to android-...@googlegroups.com
Froyo definitely builds on 64-bit 10.04. I did such a build not long ago.

I know that Donut doesn't (slight and easily fixable incompatibilities
with gcc 4.4) and was primarily 8.04. I think Eclair might, but my
memory is fuzzy.

JBQ

Kiran Rao

unread,
May 2, 2012, 2:01:09 AM5/2/12
to android-...@googlegroups.com

Ah, I see. I somehow missed the point that 64-bit has been the official standard since Froyo. Thanks for bringing this to my notice.

Reply all
Reply to author
Forward
0 new messages