public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Add support for Android
@ 2010-05-20 15:59 Maxim Kuvyrkov
  2010-05-20 16:03 ` [PATCH 1/6] Add *-linux-android* target Maxim Kuvyrkov
                   ` (6 more replies)
  0 siblings, 7 replies; 30+ messages in thread
From: Maxim Kuvyrkov @ 2010-05-20 15:59 UTC (permalink / raw)
  To: gcc-patches; +Cc: Jing Yu

The following series of patches adds Android support to GCC.

These patches add new -mbionic option and reimplement existing arm-eabi 
-mandroid option on top of support for linux targets.  With these 
patches it is possible to build arm-linux-*eabi toolchain that targets 
both GNU/Linux and Android flavors of ARM Linux.

For convenience of Android developers, these patches add new 
arm-linux-androideabi target triplet.  The only difference between 
arm-linux-gnueabi and arm-linux-androideabi toolchains is that the 
latter has -mandroid enabled by default.

Android support is implemented by these patches in target-independent 
way, so it will be easy to add Android support to other *-linux-* 
targets as needed.  [One will only need to update 
{CC1,CC1PLUS,LINK,LIB}_SPECs to include 
ANDROID_{CC1,CC1PLUS,LINK,LIB}_SPECs.]

Currently, libstdc++ cannot be built with -fno-rtti, which -mandroid 
implies.  It is possible to build full libstdc++ for Android, but it 
requires certain hacks to libstdc++ build machinery.

The patches were tested on arm-linux-androideabi by building minimal 
Android systems and by bootstrapping GCC on x86_64-linux-gnu.  Jing Yu 
of Google tested these patches by building Android.

Each of the patches will be posted in a subthread.

0001-Add-linux-android.patch
0002-Add-support-for-Bionic-C-library.patch
0003-Support-compilation-for-Android-platform.patch
0004-Add-multilib-configuration-for-arm-linux-androideabi.patch
0005-Fix-gthr-posix.h-to-support-Bionic.patch
0006-Add-untested-support-for-Bionic-to-libstdc.patch


Your review and comments are appreciated.

Thank you,

-- 
Maxim Kuvyrkov
CodeSourcery
maxim@codesourcery.com
(650) 331-3385 x724

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2010-06-16  5:59 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-20 15:59 [PATCH 0/6] Add support for Android Maxim Kuvyrkov
2010-05-20 16:03 ` [PATCH 1/6] Add *-linux-android* target Maxim Kuvyrkov
2010-05-20 17:29   ` Joseph S. Myers
2010-05-25 14:11     ` Maxim Kuvyrkov
2010-05-20 16:05 ` [PATCH 2/6] Add support for Bionic C library Maxim Kuvyrkov
2010-05-20 16:06   ` Maxim Kuvyrkov
2010-05-25 15:00     ` Mark Mitchell
2010-06-13 18:58     ` mips-linux bootstrap broken was: " Laurent GUERBY
2010-06-14  9:22       ` Maxim Kuvyrkov
2010-06-15 21:17         ` Richard Sandiford
2010-06-16  3:46           ` Laurent GUERBY
2010-06-16  8:08           ` Maxim Kuvyrkov
2010-05-20 16:06 ` [PATCH 3/6] Support compilation for Android platform Maxim Kuvyrkov
2010-05-25 15:06   ` Mark Mitchell
2010-05-20 16:07 ` [PATCH 4/6] Add multilib configuration for arm-linux-androideabi Maxim Kuvyrkov
2010-05-28 15:24   ` Mark Mitchell
2010-05-20 16:08 ` [PATCH 5/6] Fix gthr-posix.h to support Bionic Maxim Kuvyrkov
2010-05-25 15:06   ` Mark Mitchell
2010-05-25 15:23     ` Jakub Jelinek
2010-05-25 20:44       ` Mark Mitchell
2010-05-20 16:10 ` [PATCH 6/6] Add [untested] support for Bionic to libstdc++ Maxim Kuvyrkov
2010-06-01  9:36   ` [PATCH 6/6] Add " Maxim Kuvyrkov
2010-06-01  9:45     ` Paolo Carlini
2010-06-07 16:22       ` NightStrike
2010-06-07 16:30         ` Jonathan Wakely
2010-06-07 16:44           ` NightStrike
2010-06-07 16:33         ` Maxim Kuvyrkov
2010-06-07 16:44           ` NightStrike
2010-05-29 17:33 ` [PATCH 0/6] Add support for Android Gerald Pfeifer
2010-05-30 15:23   ` Maxim Kuvyrkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).