summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRaphael <raphael@google.com>2010-03-30 11:10:06 -0700
committerRaphael <raphael@google.com>2010-03-30 11:10:06 -0700
commitc7dc2fb38357757781e08850e452dadf8454ce04 (patch)
tree9d3e9bb4ce5457ca1b7b49082f4cad44f1b56ded /docs
parentd754ddec4a5ae618fb440c96850c20055eb4cbbd (diff)
downloadandroid_development-c7dc2fb38357757781e08850e452dadf8454ce04.tar.gz
android_development-c7dc2fb38357757781e08850e452dadf8454ce04.tar.bz2
android_development-c7dc2fb38357757781e08850e452dadf8454ce04.zip
Update the docs explaining how to build an SDK.
Change-Id: Ib01ad69119152d10cc19ed6e2188621782ecc903
Diffstat (limited to 'docs')
-rw-r--r--docs/howto_SDK_git_cygwin.txt15
-rw-r--r--docs/howto_build_SDK.txt28
2 files changed, 38 insertions, 5 deletions
diff --git a/docs/howto_SDK_git_cygwin.txt b/docs/howto_SDK_git_cygwin.txt
index 42da18b04..622c5928b 100644
--- a/docs/howto_SDK_git_cygwin.txt
+++ b/docs/howto_SDK_git_cygwin.txt
@@ -16,6 +16,7 @@ limitations under the License.
Subject: How to get the android source code using Cygwin and Git
Date: 2009/04/27
Updated: 2009/05/21
+Updated: 2010/03/30
Table of content:
@@ -33,15 +34,20 @@ This document explains how to checkout the Android source from the git
repositories under Windows.
As stated in development/docs/howto_build_SDK.txt, one can't build the whole
-Android source code under Windows. You can only build a the SDK tools for
+Android source code under Windows. You can only build the SDK tools for
Windows.
There are a number of caveats in checking out the code from Git under Windows.
This document tries to explain them.
First you will need to meet the following requirements:
-- You must have Cygwin installed.
- See http://www.cygwin.com/
+- You must have Cygwin installed. But wait! You CANNOT use the latest Cygwin 1.7.
+ Instead you MUST use the "legacy Cygwin 1.5" that you can find at this page:
+
+ http://cygwin.org/win-9x.html
+
+ Don't mind the page title, just grab setup-legacy.exe and it will works just fine
+ under XP or Vista.
- You must install Cyginw using the "Unix / Binary" mode.
If you don't do that, git will fail to properly compute some SHA1 keys.
@@ -51,6 +57,9 @@ First you will need to meet the following requirements:
Note: if you want to build the SDK, check the howto_build_SDK.txt file
for a list of extra required packages.
+ The short summary is that you need at least these:
+ autoconf, bison, curl, flex, gcc, g++, git, gnupg, make, mingw-zlib, python, unzip, zip
+ and you must avoid the "readline" package.
-----------------------------------
diff --git a/docs/howto_build_SDK.txt b/docs/howto_build_SDK.txt
index 4b6507d4a..bb42fed75 100644
--- a/docs/howto_build_SDK.txt
+++ b/docs/howto_build_SDK.txt
@@ -1,5 +1,21 @@
+Copyright (C) 2009 The Android Open Source Project
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
Subject: How to build an Android SDK & ADT Eclipse plugin.
Date: 2009/03/27
+Updated: 2010/03/30
Table of content:
@@ -105,8 +121,16 @@ binaries by Windows binaries.
B- Cygwin pre-requisite & code checkout
---------------------------------------
-Second you need to install Cygwin and configure it:
-- Get the installer at http://sources.redhat.com/cygwin/
+You must have Cygwin installed. But wait! You CANNOT use the latest Cygwin 1.7.
+Instead you MUST use the "legacy Cygwin 1.5" that you can find at this page:
+
+ http://cygwin.org/win-9x.html
+
+Don't mind the page title, just grab setup-legacy.exe and it will works just fine
+under XP or Vista.
+
+
+Now configure it:
- When installing Cygwin, set Default Text File Type to Unix/binary, not DOS/text.
This is really important, otherwise you will get errors when trying to
checkout code using git.