|
1 | 1 | ndk=true |
2 | 2 |
|
3 | | -ndk.win_download=android-ndk-r7-windows.zip |
4 | | -ndk.win_bytes=81270552 |
5 | | -ndk.win_checksum=55483482cf2b75e8dd1a5d9a7caeb6e5 |
| 3 | +ndk.win_download=android-ndk-r7b-windows.zip |
| 4 | +ndk.win_bytes=80346206 |
| 5 | +ndk.win_checksum=c42b0c9c14428397337421d5e4999380 |
6 | 6 |
|
7 | | -ndk.mac_download=android-ndk-r7-darwin-x86.tar.bz2 |
8 | | -ndk.mac_bytes=71262092 |
9 | | -ndk.mac_checksum=817ca5675a1dd44078098e43070f19b6 |
| 7 | +ndk.mac_download=android-ndk-r7b-darwin-x86.tar.bz2 |
| 8 | +ndk.mac_bytes=73817184 |
| 9 | +ndk.mac_checksum=6daa82ca6b73bc0614c9997430079c7a |
10 | 10 |
|
11 | | -ndk.linux_download=android-ndk-r7-linux-x86.tar.bz2 |
12 | | -ndk.linux_bytes=64884365 |
13 | | -ndk.linux_checksum=bf15e6b47bf50824c4b96849bf003ca3 |
| 11 | +ndk.linux_download=android-ndk-r7b-linux-x86.tar.bz2 |
| 12 | +ndk.linux_bytes=64349733 |
| 13 | +ndk.linux_checksum=0eb8af18796cdaa082df8f7c54ad7f9a |
14 | 14 |
|
15 | 15 | page.title=Android NDK |
16 | 16 |
|
@@ -62,6 +62,116 @@ padding: .25em 1em; |
62 | 62 | <div class="toggleable open"> |
63 | 63 | <a href="#" onclick="return toggleDiv(this)"><img src= |
64 | 64 | "{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" width="9px"> |
| 65 | + Android NDK, Revision 7b</a> <em>(February 2012)</em> |
| 66 | + |
| 67 | + <div class="toggleme"> |
| 68 | + <p>This release of the NDK includes fixes for native Windows builds, Cygwin and many other |
| 69 | + improvements:</p> |
| 70 | + |
| 71 | + <dl> |
| 72 | + <dt>Important bug fixes:</dt> |
| 73 | + |
| 74 | + <dd> |
| 75 | + <ul> |
| 76 | + <li>Updated {@code sys/atomics.h} to avoid correctness issues |
| 77 | + on some multi-core ARM-based devices. Rebuild your unmodified sources with this |
| 78 | + version of the NDK and this problem should be completely eliminated. |
| 79 | + For more details, read {@code docs/ANDROID-ATOMICS.html}.</li> |
| 80 | + <li>Reverted to {@code binutils} 2.19 to fix debugging issues that |
| 81 | + appeared in NDK r7 (which switched to {@code binutils} 2.20.1).</li> |
| 82 | + <li>Fixed {@code ndk-build} on 32-bit Linux. A packaging error put a 64-bit version |
| 83 | + of the {@code awk} executable under {@code prebuilt/linux-x86/bin} in NDK r7.</li> |
| 84 | + <li>Fixed native Windows build ({@code ndk-build.cmd}). Other build modes were not |
| 85 | + affected. The fixes include: |
| 86 | + <ul> |
| 87 | + <li>Removed an infinite loop / stack overflow bug that happened when trying |
| 88 | + to call {@code ndk-build.cmd} from a directory that was <em>not</em> the top of |
| 89 | + your project path (e.g., in any sub-directory of it).</li> |
| 90 | + <li>Fixed a problem where the auto-generated dependency files were ignored. This |
| 91 | + meant that updating a header didn't trigger recompilation of sources that included |
| 92 | + it.</li> |
| 93 | + <li>Fixed a problem where special characters in files or paths, other than spaces and |
| 94 | + quotes, were not correctly handled.</li> |
| 95 | + </ul> |
| 96 | + </li> |
| 97 | + <li>Fixed the standalone toolchain to generate proper binaries when using |
| 98 | + {@code -lstdc++} (i.e., linking against the GNU {@code libstdc++} C++ runtime). You |
| 99 | + should use {@code -lgnustl_shared} if you want to link against the shared library |
| 100 | + version or {@code -lstdc++} for the static version. |
| 101 | + |
| 102 | + <p>See {@code docs/STANDALONE-TOOLCHAIN.html} for more details about this fix.</p> |
| 103 | + </li> |
| 104 | + <li>Fixed {@code gnustl_shared} on Cygwin. The linker complained that it couldn't find |
| 105 | + {@code libsupc++.a} even though the file was at the right location.</li> |
| 106 | + <li>Fixed Cygwin C++ link when not using any specific C++ runtime through |
| 107 | + {@code APP_STL}.</li> |
| 108 | + </ul> |
| 109 | + </dd> |
| 110 | + </dl> |
| 111 | + |
| 112 | + <dl> |
| 113 | + <dt>Other changes:</dt> |
| 114 | + |
| 115 | + <dd> |
| 116 | + <ul> |
| 117 | + <li>When your application uses the GNU {@code libstdc++} runtime, the compiler will |
| 118 | + no longer forcibly enable exceptions and RTTI. This change results in smaller code. |
| 119 | + <p>If you need these features, you must do one of the following:</p> |
| 120 | + <ul> |
| 121 | + <li>Enable exceptions and/or RTTI explicitly in your modules or |
| 122 | + {@code Application.mk}. (recommended)</li> |
| 123 | + <li>Define {@code APP_GNUSTL_FORCE_CPP_FEATURES} to {@code 'exceptions'}, |
| 124 | + {@code 'rtti'} or both in your {@code Application.mk}. See |
| 125 | + {@code docs/APPLICATION-MK.html} for more details.</li> |
| 126 | + </ul> |
| 127 | + </li> |
| 128 | + <li>{@code ndk-gdb} now works properly when your application has private services |
| 129 | + running in independent processes. It debugs the main application process, instead of the |
| 130 | + first process listed by {@code ps}, which is usually a service process.</li> |
| 131 | + <li>Fixed a rare bug where NDK r7 would fail to honor the {@code LOCAL_ARM_MODE} value |
| 132 | + and always compile certain source files (but not all) to 32-bit instructions.</li> |
| 133 | + <li>{@code stlport}: Refresh the sources to match the Android platform version. This |
| 134 | + update fixes a few minor bugs: |
| 135 | + <ul> |
| 136 | + <li>Fixed instantiation of an incomplete type</li> |
| 137 | + <li>Fixed minor "==" versus "=" typo</li> |
| 138 | + <li>Used {@code memmove} instead of {@code memcpy} in {@code string::assign}</li> |
| 139 | + <li>Added better handling of {@code IsNANorINF}, {@code IsINF}, {@code IsNegNAN}, |
| 140 | + etc.</li> |
| 141 | + </ul> |
| 142 | + <p>For complete details, see the commit log.</p> |
| 143 | + </li> |
| 144 | + <li>{@code stlport}: Removed 5 unnecessary static initializers from the library.</li> |
| 145 | + <li>The GNU libstdc++ libraries for armeabi-v7a were mistakenly compiled for |
| 146 | + armeabi instead. This change had no impact on correctness, but using the right |
| 147 | + ABI should provide slightly better performance.</li> |
| 148 | + <li>The {@code cpu-features} helper library was updated to report three optional |
| 149 | + x86 CPU features ({@code SSSE3}, {@code MOVBE} and {@code POPCNT}). See |
| 150 | + {@code docs/CPU-FEATURES.html} for more details.</li> |
| 151 | + <li>{@code docs/NDK-BUILD.html} was updated to mention {@code NDK_APPLICATION_MK} instead |
| 152 | + of {@code NDK_APP_APPLICATION_MK} to select a custom {@code Application.mk} file.</li> |
| 153 | + <li>Cygwin: {@code ndk-build} no longer creates an empty "NUL" file in the current |
| 154 | + directory when invoked.</li> |
| 155 | + <li>Cygwin: Added better automatic dependency detection. In the previous version, it |
| 156 | + didn't work properly in the following cases: |
| 157 | + <ul> |
| 158 | + <li>When the Cygwin drive prefix was not {@code /cygdrive}.</li> |
| 159 | + <li>When using drive-less mounts, for example, when Cygwin would translate |
| 160 | + {@code /home} to {@code \\server\subdir} instead of {@code C:\Some\Dir}.</li> |
| 161 | + </ul> |
| 162 | + </li> |
| 163 | + <li>Cygwin: {@code ndk-build} does not try to use the native Windows tools under |
| 164 | + {@code $NDK/prebuilt/windows/bin} with certain versions of Cygwin and/or GNU Make.</li> |
| 165 | + </ul> |
| 166 | + </dd> |
| 167 | + </dl> |
| 168 | + </div> |
| 169 | +</div> |
| 170 | + |
| 171 | + |
| 172 | +<div class="toggleable closed"> |
| 173 | + <a href="#" onclick="return toggleDiv(this)"><img src= |
| 174 | + "{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px"> |
65 | 175 | Android NDK, Revision 7</a> <em>(November 2011)</em> |
66 | 176 |
|
67 | 177 | <div class="toggleme"> |
|
0 commit comments