Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 17210200B7E for ; Tue, 23 Aug 2016 03:22:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 15EDD160AB3; Tue, 23 Aug 2016 01:22:25 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0C0BF160AC5 for ; Tue, 23 Aug 2016 03:22:22 +0200 (CEST) Received: (qmail 18530 invoked by uid 500); 23 Aug 2016 01:22:22 -0000 Mailing-List: contact commits-help@mynewt.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mynewt.incubator.apache.org Delivered-To: mailing list commits@mynewt.incubator.apache.org Received: (qmail 18520 invoked by uid 99); 23 Aug 2016 01:22:22 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2016 01:22:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 977E8180576 for ; Tue, 23 Aug 2016 01:22:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.646 X-Spam-Level: X-Spam-Status: No, score=-4.646 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Ctfp8CAKeVLs for ; Tue, 23 Aug 2016 01:22:11 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id 592895FADB for ; Tue, 23 Aug 2016 01:22:10 +0000 (UTC) Received: (qmail 17440 invoked by uid 99); 23 Aug 2016 01:22:09 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2016 01:22:09 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 70611E0441; Tue, 23 Aug 2016 01:22:09 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: aditi@apache.org To: commits@mynewt.incubator.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: incubator-mynewt-site git commit: Modified native tool installation instructions to reflect configuration changes in .yml file needed with gcc 6.1 and Clang Date: Tue, 23 Aug 2016 01:22:09 +0000 (UTC) archived-at: Tue, 23 Aug 2016 01:22:25 -0000 Repository: incubator-mynewt-site Updated Branches: refs/heads/asf-site bdf510060 -> 8c9717575 Modified native tool installation instructions to reflect configuration changes in .yml file needed with gcc 6.1 and Clang Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/commit/8c971757 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/8c971757 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/8c971757 Branch: refs/heads/asf-site Commit: 8c97175750d8f3319c0981bcdb368ca9541f0bb6 Parents: bdf5100 Author: aditihilbert Authored: Mon Aug 22 18:21:51 2016 -0700 Committer: aditihilbert Committed: Mon Aug 22 18:21:51 2016 -0700 ---------------------------------------------------------------------- develop/mkdocs/search_index.json | 4 +-- develop/os/get_started/native_tools/index.html | 32 ++++++++++++++++++++- develop/sitemap.xml | 20 ++++++------- latest/mkdocs/search_index.json | 4 +-- latest/os/get_started/native_tools/index.html | 32 ++++++++++++++++++++- latest/sitemap.xml | 20 ++++++------- mkdocs/search_index.json | 4 +-- os/get_started/native_tools/index.html | 32 ++++++++++++++++++++- sitemap.xml | 20 ++++++------- v0_9_0/mkdocs/search_index.json | 4 +-- v0_9_0/os/get_started/native_tools/index.html | 32 ++++++++++++++++++++- v0_9_0/sitemap.xml | 20 ++++++------- 12 files changed, 172 insertions(+), 52 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8c971757/develop/mkdocs/search_index.json ---------------------------------------------------------------------- diff --git a/develop/mkdocs/search_index.json b/develop/mkdocs/search_index.json index a0e1f71..b5ab6fe 100644 --- a/develop/mkdocs/search_index.json +++ b/develop/mkdocs/search_index.json @@ -182,7 +182,7 @@ }, { "location": "/os/get_started/native_tools/", - "text": "Installing Native Mynewt Tools\n\n\nThis page shows how to install tools for native Mynewt targets (simulated targets on your laptop/computer) without using a Docker container. In other words, it allows you to run Mynewt OS as a native application on your Mac or Linux machine to simulate a target and use the Newt tool running natively on your machine to manage the simulated target. It also allows you to run the test suites for all packages not requiring HW support. You may choose to do this instead of using the build toolchain and Newt tool available in a Docker container.\n\n\nThis page provides guidance for MAC and Linux. See the relevant sections below.\n\n\n\n\nSet up toolchain for Mac\n\n\nInstall Brew\n\n\nIf you have not already installed Homebrew from the \n\nnewt\n tutorials pages\n, install it. \n\n\n\n\nInstall gcc/libc\n\n\nOS X ships with a C compiler called Clang. To build applications for the Mynewt simulator, you will need a different compiler: gcc.\n\n\n$ brew install gcc\n...\n...\n==\n Summary\n\ud83c\udf7a /usr/local/Cellar/gcc/5.2.0: 1353 files, 248M\n\n\n\n\n\n\n\nInstall gdb\n\n\n$ brew install gdb\n...\n...\n==\n Summary\n\ud83c\udf7a /usr/local/Cellar/gdb/7.10.1: XXX files,YYM\n\n\n\n\n\n\n\nNOTE:\n When running a program with gdb, you may need to sign your gdb\nexecutable. \nThis page\n\nshows a recipe for gdb signing. Alternately you can skip this step and\ncontinue without the ability to debug your mynewt application on your PC.*\n\n\n\n\nSet up toolchain for Linux\n\n\nThe below procedure can be used to set up a Debian-based Linux system (e.g.,\nUbuntu). If you are running a different Linux distribution, you will need to\nsubstitute invocations of \napt-get\n in the below steps with the package manager\nthat your distro uses.\n\n\n\n\nInstall gcc/libc that will produce 32-bit executables:\n\n\n$ sudo apt-get install gcc-multilib libc6-i386\n\n\n\n\n\n\n\nInstall gdb\n\n\n$ sudo apt-get install gdb\n\nReadi ng package lists... Done\nBuilding dependency tree \nReading state information... Done\nSuggested packages:\n gdb-doc gdbserver\nThe following NEW packages will be installed:\n gdb\n...\nProcessing triggers for man-db (2.6.7.1-1ubuntu1) ...\nSetting up gdb (7.7.1-0ubuntu5~14.04.2) ...\n\n\n\n\n\n\n\nAt this point you have installed all the necessary software to build and test code on a simluator running on your Mac or Linux. Proceed to the \nCreate Your First Project\n section.", + "text": "Installing Native Mynewt Tools\n\n\nThis page shows how to install tools for native Mynewt targets (simulated targets on your laptop/computer) without using a Docker container. In other words, it allows you to run Mynewt OS as a native application on your Mac or Linux machine to simulate a target and use the Newt tool running natively on your machine to manage the simulated target. It also allows you to run the test suites for all packages not requiring HW support. You may choose to do this instead of using the build toolchain and Newt tool available in a Docker container.\n\n\nThis page provides guidance for MAC and Linux. See the relevant sections below.\n\n\n\n\nSet up toolchain for Mac\n\n\nInstall Brew\n\n\nIf you have not already installed Homebrew from the \n\nnewt\n tutorials pages\n, install it. \n\n\n\n\nInstall gcc/libc\n\n\nOS X ships with a C compiler called Clang. To build applications for the Mynewt simulator with, a different compiler is used as default: gcc.\n\n\n$ brew install gcc\n...\n...\n==\n Summary\n\ud83c\udf7a /usr/local/Cellar/gcc/5.2.0: 1353 files, 248M\n\n\n\n\n\n\n\nCheck the gcc version you have installed (either using brew or previously installed). If the gcc version is 6.1 rather the expected 5.x by the default .yml configuration file, you have to modify the \nmynewt-src-directory\n/repos/apache-mynewt-core/compiler/sim/compiler.yml\n file to change the default \ngcc v-5\n defined there.\n\n\nReplace the lines shown highlighted below:\n\n\n# OS X.\n\ncompiler.path.cc.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-5\n\n\ncompiler.path.as.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-5 -x assembler-with-cpp\n\n\ncompiler.path.objdump.DARWIN.OVERWRITE: \ngobjdump\n\ncompiler.path.objsize.DARWIN.OVERWRITE: \nobjsize\n\ncompiler.path.objcopy.DARWIN.OVERWRITE: \ngobjcopy\n\n\n\n\n\n\nwith the following:\n\n\ncompiler.path.cc.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-6\n\ncompiler.path.as.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-6 -x assembler-with-cpp\u201d\n\n\n\n\n\n\n\nIn case you wish to use Clang, you can change your \nmynewt-src-directory\n/repos/apache-mynewt-core/compiler/sim/compiler.yml\n to use Clang. Delete the gcc-5 DARWIN.OVERWRITE lines highlighted below.\n\n\n# OS X.\n\ncompiler.path.cc.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-5\n\n\ncompiler.path.as.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-5 -x assembler-with-cpp\n\n\ncompiler.path.objdump.DARWIN.OVERWRITE: \ngobjdump\n\ncompiler.path.objsize.DARWIN.OVERWRITE: \nobjsize\n\ncompiler.path.objcopy.DARWIN.OVERWRITE: \ngobjcopy\n\n\n\n\n\n\nNote:\n Both the newer gcc 6.x and Clang report a few warnings but they can be ignored.\n\n\n\n\nInstall gdb\n\n\n$ brew install gdb\n...\n...\n==\n Summary\n\ud83c\udf7a /usr/local/Cellar/gdb/7.10.1: XXX files,YYM\n\n\n\n\n\n\n\nNOTE:\n When running a program with gdb, you may need to sign your gdb\nexecutable. \nThis page\n\nshows a recipe for gdb signing. Alternately you can skip this step and\ncontinue witho ut the ability to debug your mynewt application on your PC.*\n\n\n\n\nSet up toolchain for Linux\n\n\nThe below procedure can be used to set up a Debian-based Linux system (e.g.,\nUbuntu). If you are running a different Linux distribution, you will need to\nsubstitute invocations of \napt-get\n in the below steps with the package manager\nthat your distro uses.\n\n\n\n\nInstall gcc/libc that will produce 32-bit executables:\n\n\n$ sudo apt-get install gcc-multilib libc6-i386\n\n\n\n\n\n\n\nInstall gdb\n\n\n$ sudo apt-get install gdb\n\nReading package lists... Done\nBuilding dependency tree \nReading state information... Done\nSuggested packages:\n gdb-doc gdbserver\nThe following NEW packages will be installed:\n gdb\n...\nProcessing triggers for man-db (2.6.7.1-1ubuntu1) ...\nSetting up gdb (7.7.1-0ubuntu5~14.04.2) ...\n\n\n\n\n\n\n\nAt this point you have installed all the necessary software to build and test code on a simluator running on your Mac or Linux. Proceed to t he \nCreate Your First Project\n section.", "title": "toc" }, { @@ -202,7 +202,7 @@ }, { "location": "/os/get_started/native_tools/#install-gcclibc", - "text": "OS X ships with a C compiler called Clang. To build applications for the Mynewt simulator, you will need a different compiler: gcc. $ brew install gcc\n...\n...\n== Summary\n\ud83c\udf7a /usr/local/Cellar/gcc/5.2.0: 1353 files, 248M", + "text": "OS X ships with a C compiler called Clang. To build applications for the Mynewt simulator with, a different compiler is used as default: gcc. $ brew install gcc\n...\n...\n== Summary\n\ud83c\udf7a /usr/local/Cellar/gcc/5.2.0: 1353 files, 248M Check the gcc version you have installed (either using brew or previously installed). If the gcc version is 6.1 rather the expected 5.x by the default .yml configuration file, you have to modify the mynewt-src-directory /repos/apache-mynewt-core/compiler/sim/compiler.yml file to change the default gcc v-5 defined there. Replace the lines shown highlighted below: # OS X. compiler.path.cc.DARWIN.OVERWRITE: /usr/local/bin/gcc-5 compiler.path.as.DARWIN.OVERWRITE: /usr/local/bin/gcc-5 -x assembler-with-cpp compiler.path.objdump.DARWIN.OVERWRITE: gobjdump \ncompiler.path.objsize.DARWIN.OVERWRITE: objsize \ncompiler.path.objcopy.DARWIN.OVERWRITE: gobjcopy with the following: compiler.path.cc.DARWIN.OVERWRITE: /usr/local/bin/gcc-6 \ncompiler.path.as.DARWIN.OVERWRITE: /usr/local/bin/gcc-6 -x assembler-with-cpp\u201d In case you wish to use Clang, you can change your mynewt-src-directory /repos/apache-mynewt-core/compiler/sim/compiler.yml to use Clang. Delete the gcc-5 DARWIN.OVERWRITE lines highlighted below. # OS X. compiler.path.cc.DARWIN.OVERWRITE: /usr/local/bin/gcc-5 compiler.path.as.DARWIN.OVERWRITE: /usr/local/bin/gcc-5 -x assembler-with-cpp compiler.path.objdump.DARWIN.OVERWRITE: gobjdump \ncompiler.path.objsize.DARWIN.OVERWRITE: objsize \ncompiler.path.objcopy.DARWIN.OVERWRITE: gobjcopy Note: Both the newer gcc 6.x and Clang report a few warnings but they can be ignored.", "title": "Install gcc/libc" }, { http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8c971757/develop/os/get_started/native_tools/index.html ---------------------------------------------------------------------- diff --git a/develop/os/get_started/native_tools/index.html b/develop/os/get_started/native_tools/index.html index 1382e8e..0735ba0 100644 --- a/develop/os/get_started/native_tools/index.html +++ b/develop/os/get_started/native_tools/index.html @@ -373,7 +373,7 @@ newt tutorials pages, install it.


Install gcc/libc

-

OS X ships with a C compiler called Clang. To build applications for the Mynewt simulator, you will need a different compiler: gcc.

+

OS X ships with a C compiler called Clang. To build applications for the Mynewt simulator with, a different compiler is used as default: gcc.

$ brew install gcc
 ...
 ...
@@ -383,6 +383,36 @@
 
 
 


+

Check the gcc version you have installed (either using brew or previously installed). If the gcc version is 6.1 rather the expected 5.x by the default .yml configuration file, you have to modify the <mynewt-src-directory>/repos/apache-mynewt-core/compiler/sim/compiler.yml file to change the default gcc v-5 defined there.

+

Replace the lines shown highlighted below:

+
# OS X.
+compiler.path.cc.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5"
+compiler.path.as.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5 -x assembler-with-cpp"
+compiler.path.objdump.DARWIN.OVERWRITE: "gobjdump"
+compiler.path.objsize.DARWIN.OVERWRITE: "objsize"
+compiler.path.objcopy.DARWIN.OVERWRITE: "gobjcopy"
+
+ + +

with the following:

+
compiler.path.cc.DARWIN.OVERWRITE: "/usr/local/bin/gcc-6"
+compiler.path.as.DARWIN.OVERWRITE: "/usr/local/bin/gcc-6 -x assembler-with-cpp”
+
+ + +


+

In case you wish to use Clang, you can change your <mynewt-src-directory>/repos/apache-mynewt-core/compiler/sim/compiler.yml to use Clang. Delete the gcc-5 DARWIN.OVERWRITE lines highlighted below.

+
# OS X.
+compiler.path.cc.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5"
+compiler.path.as.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5 -x assembler-with-cpp"
+compiler.path.objdump.DARWIN.OVERWRITE: "gobjdump"
+compiler.path.objsize.DARWIN.OVERWRITE: "objsize"
+compiler.path.objcopy.DARWIN.OVERWRITE: "gobjcopy"
+
+ + +

Note: Both the newer gcc 6.x and Clang report a few warnings but they can be ignored.

+


Install gdb

$ brew install gdb
 ...

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8c971757/develop/sitemap.xml
----------------------------------------------------------------------
diff --git a/develop/sitemap.xml b/develop/sitemap.xml
index 16b74fd..82db895 100644
--- a/develop/sitemap.xml
+++ b/develop/sitemap.xml
@@ -4,7 +4,7 @@
     
     
      http://mynewt.apache.org/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -12,7 +12,7 @@
     
     
      http://mynewt.apache.org/quick-start/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -20,7 +20,7 @@
     
     
      http://mynewt.apache.org/about/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -28,7 +28,7 @@
     
     
      http://mynewt.apache.org/download/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -36,7 +36,7 @@
     
     
      http://mynewt.apache.org/community/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -44,7 +44,7 @@
     
     
      http://mynewt.apache.org/events/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -53,7 +53,7 @@
         
     
      http://mynewt.apache.org/os/introduction/
-     2016-08-09
+     2016-08-22
      daily
     
         
@@ -65,7 +65,7 @@
         
     
      http://mynewt.apache.org/os/get_started/vocabulary/
-     2016-08-09
+     2016-08-22
      daily
     
         
@@ -105,13 +105,13 @@
         
     
      http://mynewt.apache.org/faq/how_to_edit_docs/
-     2016-08-09
+     2016-08-22
      daily
     
         
     
      http://mynewt.apache.org/faq/answers/
-     2016-08-09
+     2016-08-22
      daily
     
         

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8c971757/latest/mkdocs/search_index.json
----------------------------------------------------------------------
diff --git a/latest/mkdocs/search_index.json b/latest/mkdocs/search_index.json
index 8db138d..032fe80 100644
--- a/latest/mkdocs/search_index.json
+++ b/latest/mkdocs/search_index.json
@@ -182,7 +182,7 @@
         }, 
         {
             "location": "/os/get_started/native_tools/", 
-            "text": "Installing Native Mynewt Tools\n\n\nThis page shows how to install tools for native Mynewt targets (simulated targets on your laptop/computer) without using a Docker container. In other words, it allows you to run Mynewt OS as a native application on your Mac or Linux machine to simulate a target and use the Newt tool running natively on your machine to manage the simulated target. It also allows you to run the test suites for all packages not requiring HW support. You may choose to do this instead of using the build toolchain and Newt tool available in a Docker container.\n\n\nThis page provides guidance for MAC and Linux. See the relevant sections below.\n\n\n\n\nSet up toolchain for Mac\n\n\nInstall Brew\n\n\nIf you have not already installed Homebrew from the \n\nnewt\n tutorials pages\n, install it. \n\n\n\n\nInstall gcc/libc\n\n\nOS X ships with a C compiler called Clang.  To build applications for the Mynewt simulator, you will need a different compiler: 
 gcc.\n\n\n$ brew install gcc\n...\n...\n==\n Summary\n\ud83c\udf7a  /usr/local/Cellar/gcc/5.2.0: 1353 files, 248M\n\n\n\n\n\n\n\nInstall gdb\n\n\n$ brew install gdb\n...\n...\n==\n Summary\n\ud83c\udf7a  /usr/local/Cellar/gdb/7.10.1: XXX files,YYM\n\n\n\n\n\n\n\nNOTE:\n When running a program with gdb, you may need to sign your gdb\nexecutable.  \nThis page\n\nshows a recipe for gdb signing. Alternately you can skip this step and\ncontinue without the ability to debug your mynewt application on your PC.*\n\n\n\n\nSet up toolchain for Linux\n\n\nThe below procedure can be used to set up a Debian-based Linux system (e.g.,\nUbuntu).  If you are running a different Linux distribution, you will need to\nsubstitute invocations of \napt-get\n in the below steps with the package manager\nthat your distro uses.\n\n\n\n\nInstall gcc/libc that will produce 32-bit executables:\n\n\n$ sudo apt-get install gcc-multilib libc6-i386\n\n\n\n\n\n\n\nInstall gdb\n\n\n$ sudo apt-get install gdb\n\nReadi
 ng package lists... Done\nBuilding dependency tree       \nReading state information... Done\nSuggested packages:\n  gdb-doc gdbserver\nThe following NEW packages will be installed:\n  gdb\n...\nProcessing triggers for man-db (2.6.7.1-1ubuntu1) ...\nSetting up gdb (7.7.1-0ubuntu5~14.04.2) ...\n\n\n\n\n\n\n\nAt this point you have installed all the necessary software to build and test code on a simluator running on your Mac or Linux. Proceed to the \nCreate Your First Project\n section.", 
+            "text": "Installing Native Mynewt Tools\n\n\nThis page shows how to install tools for native Mynewt targets (simulated targets on your laptop/computer) without using a Docker container. In other words, it allows you to run Mynewt OS as a native application on your Mac or Linux machine to simulate a target and use the Newt tool running natively on your machine to manage the simulated target. It also allows you to run the test suites for all packages not requiring HW support. You may choose to do this instead of using the build toolchain and Newt tool available in a Docker container.\n\n\nThis page provides guidance for MAC and Linux. See the relevant sections below.\n\n\n\n\nSet up toolchain for Mac\n\n\nInstall Brew\n\n\nIf you have not already installed Homebrew from the \n\nnewt\n tutorials pages\n, install it. \n\n\n\n\nInstall gcc/libc\n\n\nOS X ships with a C compiler called Clang.  To build applications for the Mynewt simulator with, a different compiler is used as
  default: gcc.\n\n\n$ brew install gcc\n...\n...\n==\n Summary\n\ud83c\udf7a  /usr/local/Cellar/gcc/5.2.0: 1353 files, 248M\n\n\n\n\n\n\n\nCheck the gcc version you have installed (either using brew or previously installed). If the gcc version is 6.1 rather the expected 5.x by the default .yml configuration file, you have to modify the \nmynewt-src-directory\n/repos/apache-mynewt-core/compiler/sim/compiler.yml\n file to change the default \ngcc v-5\n defined there.\n\n\nReplace the lines shown highlighted below:\n\n\n# OS X.\n\ncompiler.path.cc.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-5\n\n\ncompiler.path.as.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-5 -x assembler-with-cpp\n\n\ncompiler.path.objdump.DARWIN.OVERWRITE: \ngobjdump\n\ncompiler.path.objsize.DARWIN.OVERWRITE: \nobjsize\n\ncompiler.path.objcopy.DARWIN.OVERWRITE: \ngobjcopy\n\n\n\n\n\n\nwith the following:\n\n\ncompiler.path.cc.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-6\n\ncompiler.path.as.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-6 
 -x assembler-with-cpp\u201d\n\n\n\n\n\n\n\nIn case you wish to use Clang, you can change your \nmynewt-src-directory\n/repos/apache-mynewt-core/compiler/sim/compiler.yml\n to use Clang. Delete the gcc-5 DARWIN.OVERWRITE lines highlighted below.\n\n\n# OS X.\n\ncompiler.path.cc.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-5\n\n\ncompiler.path.as.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-5 -x assembler-with-cpp\n\n\ncompiler.path.objdump.DARWIN.OVERWRITE: \ngobjdump\n\ncompiler.path.objsize.DARWIN.OVERWRITE: \nobjsize\n\ncompiler.path.objcopy.DARWIN.OVERWRITE: \ngobjcopy\n\n\n\n\n\n\nNote:\n Both the newer gcc 6.x and Clang report a few warnings but they can be ignored.\n\n\n\n\nInstall gdb\n\n\n$ brew install gdb\n...\n...\n==\n Summary\n\ud83c\udf7a  /usr/local/Cellar/gdb/7.10.1: XXX files,YYM\n\n\n\n\n\n\n\nNOTE:\n When running a program with gdb, you may need to sign your gdb\nexecutable.  \nThis page\n\nshows a recipe for gdb signing. Alternately you can skip this step and\ncontinue witho
 ut the ability to debug your mynewt application on your PC.*\n\n\n\n\nSet up toolchain for Linux\n\n\nThe below procedure can be used to set up a Debian-based Linux system (e.g.,\nUbuntu).  If you are running a different Linux distribution, you will need to\nsubstitute invocations of \napt-get\n in the below steps with the package manager\nthat your distro uses.\n\n\n\n\nInstall gcc/libc that will produce 32-bit executables:\n\n\n$ sudo apt-get install gcc-multilib libc6-i386\n\n\n\n\n\n\n\nInstall gdb\n\n\n$ sudo apt-get install gdb\n\nReading package lists... Done\nBuilding dependency tree       \nReading state information... Done\nSuggested packages:\n  gdb-doc gdbserver\nThe following NEW packages will be installed:\n  gdb\n...\nProcessing triggers for man-db (2.6.7.1-1ubuntu1) ...\nSetting up gdb (7.7.1-0ubuntu5~14.04.2) ...\n\n\n\n\n\n\n\nAt this point you have installed all the necessary software to build and test code on a simluator running on your Mac or Linux. Proceed to t
 he \nCreate Your First Project\n section.", 
             "title": "toc"
         }, 
         {
@@ -202,7 +202,7 @@
         }, 
         {
             "location": "/os/get_started/native_tools/#install-gcclibc", 
-            "text": "OS X ships with a C compiler called Clang.  To build applications for the Mynewt simulator, you will need a different compiler: gcc.  $ brew install gcc\n...\n...\n==  Summary\n\ud83c\udf7a  /usr/local/Cellar/gcc/5.2.0: 1353 files, 248M", 
+            "text": "OS X ships with a C compiler called Clang.  To build applications for the Mynewt simulator with, a different compiler is used as default: gcc.  $ brew install gcc\n...\n...\n==  Summary\n\ud83c\udf7a  /usr/local/Cellar/gcc/5.2.0: 1353 files, 248M   Check the gcc version you have installed (either using brew or previously installed). If the gcc version is 6.1 rather the expected 5.x by the default .yml configuration file, you have to modify the  mynewt-src-directory /repos/apache-mynewt-core/compiler/sim/compiler.yml  file to change the default  gcc v-5  defined there.  Replace the lines shown highlighted below:  # OS X. compiler.path.cc.DARWIN.OVERWRITE:  /usr/local/bin/gcc-5  compiler.path.as.DARWIN.OVERWRITE:  /usr/local/bin/gcc-5 -x assembler-with-cpp  compiler.path.objdump.DARWIN.OVERWRITE:  gobjdump \ncompiler.path.objsize.DARWIN.OVERWRITE:  objsize \ncompiler.path.objcopy.DARWIN.OVERWRITE:  gobjcopy   with the following:  compiler.path.cc.DARWIN.OVERWRITE:
   /usr/local/bin/gcc-6 \ncompiler.path.as.DARWIN.OVERWRITE:  /usr/local/bin/gcc-6 -x assembler-with-cpp\u201d   In case you wish to use Clang, you can change your  mynewt-src-directory /repos/apache-mynewt-core/compiler/sim/compiler.yml  to use Clang. Delete the gcc-5 DARWIN.OVERWRITE lines highlighted below.  # OS X. compiler.path.cc.DARWIN.OVERWRITE:  /usr/local/bin/gcc-5  compiler.path.as.DARWIN.OVERWRITE:  /usr/local/bin/gcc-5 -x assembler-with-cpp  compiler.path.objdump.DARWIN.OVERWRITE:  gobjdump \ncompiler.path.objsize.DARWIN.OVERWRITE:  objsize \ncompiler.path.objcopy.DARWIN.OVERWRITE:  gobjcopy   Note:  Both the newer gcc 6.x and Clang report a few warnings but they can be ignored.", 
             "title": "Install gcc/libc"
         }, 
         {

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8c971757/latest/os/get_started/native_tools/index.html
----------------------------------------------------------------------
diff --git a/latest/os/get_started/native_tools/index.html b/latest/os/get_started/native_tools/index.html
index e419af4..d7a48ed 100644
--- a/latest/os/get_started/native_tools/index.html
+++ b/latest/os/get_started/native_tools/index.html
@@ -373,7 +373,7 @@
 newt tutorials pages, install it. 


Install gcc/libc

-

OS X ships with a C compiler called Clang. To build applications for the Mynewt simulator, you will need a different compiler: gcc.

+

OS X ships with a C compiler called Clang. To build applications for the Mynewt simulator with, a different compiler is used as default: gcc.

$ brew install gcc
 ...
 ...
@@ -383,6 +383,36 @@
 
 
 


+

Check the gcc version you have installed (either using brew or previously installed). If the gcc version is 6.1 rather the expected 5.x by the default .yml configuration file, you have to modify the <mynewt-src-directory>/repos/apache-mynewt-core/compiler/sim/compiler.yml file to change the default gcc v-5 defined there.

+

Replace the lines shown highlighted below:

+
# OS X.
+compiler.path.cc.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5"
+compiler.path.as.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5 -x assembler-with-cpp"
+compiler.path.objdump.DARWIN.OVERWRITE: "gobjdump"
+compiler.path.objsize.DARWIN.OVERWRITE: "objsize"
+compiler.path.objcopy.DARWIN.OVERWRITE: "gobjcopy"
+
+ + +

with the following:

+
compiler.path.cc.DARWIN.OVERWRITE: "/usr/local/bin/gcc-6"
+compiler.path.as.DARWIN.OVERWRITE: "/usr/local/bin/gcc-6 -x assembler-with-cpp”
+
+ + +


+

In case you wish to use Clang, you can change your <mynewt-src-directory>/repos/apache-mynewt-core/compiler/sim/compiler.yml to use Clang. Delete the gcc-5 DARWIN.OVERWRITE lines highlighted below.

+
# OS X.
+compiler.path.cc.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5"
+compiler.path.as.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5 -x assembler-with-cpp"
+compiler.path.objdump.DARWIN.OVERWRITE: "gobjdump"
+compiler.path.objsize.DARWIN.OVERWRITE: "objsize"
+compiler.path.objcopy.DARWIN.OVERWRITE: "gobjcopy"
+
+ + +

Note: Both the newer gcc 6.x and Clang report a few warnings but they can be ignored.

+


Install gdb

$ brew install gdb
 ...

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8c971757/latest/sitemap.xml
----------------------------------------------------------------------
diff --git a/latest/sitemap.xml b/latest/sitemap.xml
index 16b74fd..82db895 100644
--- a/latest/sitemap.xml
+++ b/latest/sitemap.xml
@@ -4,7 +4,7 @@
     
     
      http://mynewt.apache.org/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -12,7 +12,7 @@
     
     
      http://mynewt.apache.org/quick-start/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -20,7 +20,7 @@
     
     
      http://mynewt.apache.org/about/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -28,7 +28,7 @@
     
     
      http://mynewt.apache.org/download/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -36,7 +36,7 @@
     
     
      http://mynewt.apache.org/community/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -44,7 +44,7 @@
     
     
      http://mynewt.apache.org/events/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -53,7 +53,7 @@
         
     
      http://mynewt.apache.org/os/introduction/
-     2016-08-09
+     2016-08-22
      daily
     
         
@@ -65,7 +65,7 @@
         
     
      http://mynewt.apache.org/os/get_started/vocabulary/
-     2016-08-09
+     2016-08-22
      daily
     
         
@@ -105,13 +105,13 @@
         
     
      http://mynewt.apache.org/faq/how_to_edit_docs/
-     2016-08-09
+     2016-08-22
      daily
     
         
     
      http://mynewt.apache.org/faq/answers/
-     2016-08-09
+     2016-08-22
      daily
     
         

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8c971757/mkdocs/search_index.json
----------------------------------------------------------------------
diff --git a/mkdocs/search_index.json b/mkdocs/search_index.json
index 8db138d..032fe80 100644
--- a/mkdocs/search_index.json
+++ b/mkdocs/search_index.json
@@ -182,7 +182,7 @@
         }, 
         {
             "location": "/os/get_started/native_tools/", 
-            "text": "Installing Native Mynewt Tools\n\n\nThis page shows how to install tools for native Mynewt targets (simulated targets on your laptop/computer) without using a Docker container. In other words, it allows you to run Mynewt OS as a native application on your Mac or Linux machine to simulate a target and use the Newt tool running natively on your machine to manage the simulated target. It also allows you to run the test suites for all packages not requiring HW support. You may choose to do this instead of using the build toolchain and Newt tool available in a Docker container.\n\n\nThis page provides guidance for MAC and Linux. See the relevant sections below.\n\n\n\n\nSet up toolchain for Mac\n\n\nInstall Brew\n\n\nIf you have not already installed Homebrew from the \n\nnewt\n tutorials pages\n, install it. \n\n\n\n\nInstall gcc/libc\n\n\nOS X ships with a C compiler called Clang.  To build applications for the Mynewt simulator, you will need a different compiler: 
 gcc.\n\n\n$ brew install gcc\n...\n...\n==\n Summary\n\ud83c\udf7a  /usr/local/Cellar/gcc/5.2.0: 1353 files, 248M\n\n\n\n\n\n\n\nInstall gdb\n\n\n$ brew install gdb\n...\n...\n==\n Summary\n\ud83c\udf7a  /usr/local/Cellar/gdb/7.10.1: XXX files,YYM\n\n\n\n\n\n\n\nNOTE:\n When running a program with gdb, you may need to sign your gdb\nexecutable.  \nThis page\n\nshows a recipe for gdb signing. Alternately you can skip this step and\ncontinue without the ability to debug your mynewt application on your PC.*\n\n\n\n\nSet up toolchain for Linux\n\n\nThe below procedure can be used to set up a Debian-based Linux system (e.g.,\nUbuntu).  If you are running a different Linux distribution, you will need to\nsubstitute invocations of \napt-get\n in the below steps with the package manager\nthat your distro uses.\n\n\n\n\nInstall gcc/libc that will produce 32-bit executables:\n\n\n$ sudo apt-get install gcc-multilib libc6-i386\n\n\n\n\n\n\n\nInstall gdb\n\n\n$ sudo apt-get install gdb\n\nReadi
 ng package lists... Done\nBuilding dependency tree       \nReading state information... Done\nSuggested packages:\n  gdb-doc gdbserver\nThe following NEW packages will be installed:\n  gdb\n...\nProcessing triggers for man-db (2.6.7.1-1ubuntu1) ...\nSetting up gdb (7.7.1-0ubuntu5~14.04.2) ...\n\n\n\n\n\n\n\nAt this point you have installed all the necessary software to build and test code on a simluator running on your Mac or Linux. Proceed to the \nCreate Your First Project\n section.", 
+            "text": "Installing Native Mynewt Tools\n\n\nThis page shows how to install tools for native Mynewt targets (simulated targets on your laptop/computer) without using a Docker container. In other words, it allows you to run Mynewt OS as a native application on your Mac or Linux machine to simulate a target and use the Newt tool running natively on your machine to manage the simulated target. It also allows you to run the test suites for all packages not requiring HW support. You may choose to do this instead of using the build toolchain and Newt tool available in a Docker container.\n\n\nThis page provides guidance for MAC and Linux. See the relevant sections below.\n\n\n\n\nSet up toolchain for Mac\n\n\nInstall Brew\n\n\nIf you have not already installed Homebrew from the \n\nnewt\n tutorials pages\n, install it. \n\n\n\n\nInstall gcc/libc\n\n\nOS X ships with a C compiler called Clang.  To build applications for the Mynewt simulator with, a different compiler is used as
  default: gcc.\n\n\n$ brew install gcc\n...\n...\n==\n Summary\n\ud83c\udf7a  /usr/local/Cellar/gcc/5.2.0: 1353 files, 248M\n\n\n\n\n\n\n\nCheck the gcc version you have installed (either using brew or previously installed). If the gcc version is 6.1 rather the expected 5.x by the default .yml configuration file, you have to modify the \nmynewt-src-directory\n/repos/apache-mynewt-core/compiler/sim/compiler.yml\n file to change the default \ngcc v-5\n defined there.\n\n\nReplace the lines shown highlighted below:\n\n\n# OS X.\n\ncompiler.path.cc.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-5\n\n\ncompiler.path.as.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-5 -x assembler-with-cpp\n\n\ncompiler.path.objdump.DARWIN.OVERWRITE: \ngobjdump\n\ncompiler.path.objsize.DARWIN.OVERWRITE: \nobjsize\n\ncompiler.path.objcopy.DARWIN.OVERWRITE: \ngobjcopy\n\n\n\n\n\n\nwith the following:\n\n\ncompiler.path.cc.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-6\n\ncompiler.path.as.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-6 
 -x assembler-with-cpp\u201d\n\n\n\n\n\n\n\nIn case you wish to use Clang, you can change your \nmynewt-src-directory\n/repos/apache-mynewt-core/compiler/sim/compiler.yml\n to use Clang. Delete the gcc-5 DARWIN.OVERWRITE lines highlighted below.\n\n\n# OS X.\n\ncompiler.path.cc.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-5\n\n\ncompiler.path.as.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-5 -x assembler-with-cpp\n\n\ncompiler.path.objdump.DARWIN.OVERWRITE: \ngobjdump\n\ncompiler.path.objsize.DARWIN.OVERWRITE: \nobjsize\n\ncompiler.path.objcopy.DARWIN.OVERWRITE: \ngobjcopy\n\n\n\n\n\n\nNote:\n Both the newer gcc 6.x and Clang report a few warnings but they can be ignored.\n\n\n\n\nInstall gdb\n\n\n$ brew install gdb\n...\n...\n==\n Summary\n\ud83c\udf7a  /usr/local/Cellar/gdb/7.10.1: XXX files,YYM\n\n\n\n\n\n\n\nNOTE:\n When running a program with gdb, you may need to sign your gdb\nexecutable.  \nThis page\n\nshows a recipe for gdb signing. Alternately you can skip this step and\ncontinue witho
 ut the ability to debug your mynewt application on your PC.*\n\n\n\n\nSet up toolchain for Linux\n\n\nThe below procedure can be used to set up a Debian-based Linux system (e.g.,\nUbuntu).  If you are running a different Linux distribution, you will need to\nsubstitute invocations of \napt-get\n in the below steps with the package manager\nthat your distro uses.\n\n\n\n\nInstall gcc/libc that will produce 32-bit executables:\n\n\n$ sudo apt-get install gcc-multilib libc6-i386\n\n\n\n\n\n\n\nInstall gdb\n\n\n$ sudo apt-get install gdb\n\nReading package lists... Done\nBuilding dependency tree       \nReading state information... Done\nSuggested packages:\n  gdb-doc gdbserver\nThe following NEW packages will be installed:\n  gdb\n...\nProcessing triggers for man-db (2.6.7.1-1ubuntu1) ...\nSetting up gdb (7.7.1-0ubuntu5~14.04.2) ...\n\n\n\n\n\n\n\nAt this point you have installed all the necessary software to build and test code on a simluator running on your Mac or Linux. Proceed to t
 he \nCreate Your First Project\n section.", 
             "title": "toc"
         }, 
         {
@@ -202,7 +202,7 @@
         }, 
         {
             "location": "/os/get_started/native_tools/#install-gcclibc", 
-            "text": "OS X ships with a C compiler called Clang.  To build applications for the Mynewt simulator, you will need a different compiler: gcc.  $ brew install gcc\n...\n...\n==  Summary\n\ud83c\udf7a  /usr/local/Cellar/gcc/5.2.0: 1353 files, 248M", 
+            "text": "OS X ships with a C compiler called Clang.  To build applications for the Mynewt simulator with, a different compiler is used as default: gcc.  $ brew install gcc\n...\n...\n==  Summary\n\ud83c\udf7a  /usr/local/Cellar/gcc/5.2.0: 1353 files, 248M   Check the gcc version you have installed (either using brew or previously installed). If the gcc version is 6.1 rather the expected 5.x by the default .yml configuration file, you have to modify the  mynewt-src-directory /repos/apache-mynewt-core/compiler/sim/compiler.yml  file to change the default  gcc v-5  defined there.  Replace the lines shown highlighted below:  # OS X. compiler.path.cc.DARWIN.OVERWRITE:  /usr/local/bin/gcc-5  compiler.path.as.DARWIN.OVERWRITE:  /usr/local/bin/gcc-5 -x assembler-with-cpp  compiler.path.objdump.DARWIN.OVERWRITE:  gobjdump \ncompiler.path.objsize.DARWIN.OVERWRITE:  objsize \ncompiler.path.objcopy.DARWIN.OVERWRITE:  gobjcopy   with the following:  compiler.path.cc.DARWIN.OVERWRITE:
   /usr/local/bin/gcc-6 \ncompiler.path.as.DARWIN.OVERWRITE:  /usr/local/bin/gcc-6 -x assembler-with-cpp\u201d   In case you wish to use Clang, you can change your  mynewt-src-directory /repos/apache-mynewt-core/compiler/sim/compiler.yml  to use Clang. Delete the gcc-5 DARWIN.OVERWRITE lines highlighted below.  # OS X. compiler.path.cc.DARWIN.OVERWRITE:  /usr/local/bin/gcc-5  compiler.path.as.DARWIN.OVERWRITE:  /usr/local/bin/gcc-5 -x assembler-with-cpp  compiler.path.objdump.DARWIN.OVERWRITE:  gobjdump \ncompiler.path.objsize.DARWIN.OVERWRITE:  objsize \ncompiler.path.objcopy.DARWIN.OVERWRITE:  gobjcopy   Note:  Both the newer gcc 6.x and Clang report a few warnings but they can be ignored.", 
             "title": "Install gcc/libc"
         }, 
         {

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8c971757/os/get_started/native_tools/index.html
----------------------------------------------------------------------
diff --git a/os/get_started/native_tools/index.html b/os/get_started/native_tools/index.html
index b791e0c..1017118 100644
--- a/os/get_started/native_tools/index.html
+++ b/os/get_started/native_tools/index.html
@@ -373,7 +373,7 @@
 newt tutorials pages, install it. 


Install gcc/libc

-

OS X ships with a C compiler called Clang. To build applications for the Mynewt simulator, you will need a different compiler: gcc.

+

OS X ships with a C compiler called Clang. To build applications for the Mynewt simulator with, a different compiler is used as default: gcc.

$ brew install gcc
 ...
 ...
@@ -383,6 +383,36 @@
 
 
 


+

Check the gcc version you have installed (either using brew or previously installed). If the gcc version is 6.1 rather the expected 5.x by the default .yml configuration file, you have to modify the <mynewt-src-directory>/repos/apache-mynewt-core/compiler/sim/compiler.yml file to change the default gcc v-5 defined there.

+

Replace the lines shown highlighted below:

+
# OS X.
+compiler.path.cc.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5"
+compiler.path.as.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5 -x assembler-with-cpp"
+compiler.path.objdump.DARWIN.OVERWRITE: "gobjdump"
+compiler.path.objsize.DARWIN.OVERWRITE: "objsize"
+compiler.path.objcopy.DARWIN.OVERWRITE: "gobjcopy"
+
+ + +

with the following:

+
compiler.path.cc.DARWIN.OVERWRITE: "/usr/local/bin/gcc-6"
+compiler.path.as.DARWIN.OVERWRITE: "/usr/local/bin/gcc-6 -x assembler-with-cpp”
+
+ + +


+

In case you wish to use Clang, you can change your <mynewt-src-directory>/repos/apache-mynewt-core/compiler/sim/compiler.yml to use Clang. Delete the gcc-5 DARWIN.OVERWRITE lines highlighted below.

+
# OS X.
+compiler.path.cc.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5"
+compiler.path.as.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5 -x assembler-with-cpp"
+compiler.path.objdump.DARWIN.OVERWRITE: "gobjdump"
+compiler.path.objsize.DARWIN.OVERWRITE: "objsize"
+compiler.path.objcopy.DARWIN.OVERWRITE: "gobjcopy"
+
+ + +

Note: Both the newer gcc 6.x and Clang report a few warnings but they can be ignored.

+


Install gdb

$ brew install gdb
 ...

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8c971757/sitemap.xml
----------------------------------------------------------------------
diff --git a/sitemap.xml b/sitemap.xml
index 16b74fd..82db895 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -4,7 +4,7 @@
     
     
      http://mynewt.apache.org/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -12,7 +12,7 @@
     
     
      http://mynewt.apache.org/quick-start/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -20,7 +20,7 @@
     
     
      http://mynewt.apache.org/about/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -28,7 +28,7 @@
     
     
      http://mynewt.apache.org/download/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -36,7 +36,7 @@
     
     
      http://mynewt.apache.org/community/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -44,7 +44,7 @@
     
     
      http://mynewt.apache.org/events/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -53,7 +53,7 @@
         
     
      http://mynewt.apache.org/os/introduction/
-     2016-08-09
+     2016-08-22
      daily
     
         
@@ -65,7 +65,7 @@
         
     
      http://mynewt.apache.org/os/get_started/vocabulary/
-     2016-08-09
+     2016-08-22
      daily
     
         
@@ -105,13 +105,13 @@
         
     
      http://mynewt.apache.org/faq/how_to_edit_docs/
-     2016-08-09
+     2016-08-22
      daily
     
         
     
      http://mynewt.apache.org/faq/answers/
-     2016-08-09
+     2016-08-22
      daily
     
         

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8c971757/v0_9_0/mkdocs/search_index.json
----------------------------------------------------------------------
diff --git a/v0_9_0/mkdocs/search_index.json b/v0_9_0/mkdocs/search_index.json
index 8db138d..032fe80 100644
--- a/v0_9_0/mkdocs/search_index.json
+++ b/v0_9_0/mkdocs/search_index.json
@@ -182,7 +182,7 @@
         }, 
         {
             "location": "/os/get_started/native_tools/", 
-            "text": "Installing Native Mynewt Tools\n\n\nThis page shows how to install tools for native Mynewt targets (simulated targets on your laptop/computer) without using a Docker container. In other words, it allows you to run Mynewt OS as a native application on your Mac or Linux machine to simulate a target and use the Newt tool running natively on your machine to manage the simulated target. It also allows you to run the test suites for all packages not requiring HW support. You may choose to do this instead of using the build toolchain and Newt tool available in a Docker container.\n\n\nThis page provides guidance for MAC and Linux. See the relevant sections below.\n\n\n\n\nSet up toolchain for Mac\n\n\nInstall Brew\n\n\nIf you have not already installed Homebrew from the \n\nnewt\n tutorials pages\n, install it. \n\n\n\n\nInstall gcc/libc\n\n\nOS X ships with a C compiler called Clang.  To build applications for the Mynewt simulator, you will need a different compiler: 
 gcc.\n\n\n$ brew install gcc\n...\n...\n==\n Summary\n\ud83c\udf7a  /usr/local/Cellar/gcc/5.2.0: 1353 files, 248M\n\n\n\n\n\n\n\nInstall gdb\n\n\n$ brew install gdb\n...\n...\n==\n Summary\n\ud83c\udf7a  /usr/local/Cellar/gdb/7.10.1: XXX files,YYM\n\n\n\n\n\n\n\nNOTE:\n When running a program with gdb, you may need to sign your gdb\nexecutable.  \nThis page\n\nshows a recipe for gdb signing. Alternately you can skip this step and\ncontinue without the ability to debug your mynewt application on your PC.*\n\n\n\n\nSet up toolchain for Linux\n\n\nThe below procedure can be used to set up a Debian-based Linux system (e.g.,\nUbuntu).  If you are running a different Linux distribution, you will need to\nsubstitute invocations of \napt-get\n in the below steps with the package manager\nthat your distro uses.\n\n\n\n\nInstall gcc/libc that will produce 32-bit executables:\n\n\n$ sudo apt-get install gcc-multilib libc6-i386\n\n\n\n\n\n\n\nInstall gdb\n\n\n$ sudo apt-get install gdb\n\nReadi
 ng package lists... Done\nBuilding dependency tree       \nReading state information... Done\nSuggested packages:\n  gdb-doc gdbserver\nThe following NEW packages will be installed:\n  gdb\n...\nProcessing triggers for man-db (2.6.7.1-1ubuntu1) ...\nSetting up gdb (7.7.1-0ubuntu5~14.04.2) ...\n\n\n\n\n\n\n\nAt this point you have installed all the necessary software to build and test code on a simluator running on your Mac or Linux. Proceed to the \nCreate Your First Project\n section.", 
+            "text": "Installing Native Mynewt Tools\n\n\nThis page shows how to install tools for native Mynewt targets (simulated targets on your laptop/computer) without using a Docker container. In other words, it allows you to run Mynewt OS as a native application on your Mac or Linux machine to simulate a target and use the Newt tool running natively on your machine to manage the simulated target. It also allows you to run the test suites for all packages not requiring HW support. You may choose to do this instead of using the build toolchain and Newt tool available in a Docker container.\n\n\nThis page provides guidance for MAC and Linux. See the relevant sections below.\n\n\n\n\nSet up toolchain for Mac\n\n\nInstall Brew\n\n\nIf you have not already installed Homebrew from the \n\nnewt\n tutorials pages\n, install it. \n\n\n\n\nInstall gcc/libc\n\n\nOS X ships with a C compiler called Clang.  To build applications for the Mynewt simulator with, a different compiler is used as
  default: gcc.\n\n\n$ brew install gcc\n...\n...\n==\n Summary\n\ud83c\udf7a  /usr/local/Cellar/gcc/5.2.0: 1353 files, 248M\n\n\n\n\n\n\n\nCheck the gcc version you have installed (either using brew or previously installed). If the gcc version is 6.1 rather the expected 5.x by the default .yml configuration file, you have to modify the \nmynewt-src-directory\n/repos/apache-mynewt-core/compiler/sim/compiler.yml\n file to change the default \ngcc v-5\n defined there.\n\n\nReplace the lines shown highlighted below:\n\n\n# OS X.\n\ncompiler.path.cc.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-5\n\n\ncompiler.path.as.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-5 -x assembler-with-cpp\n\n\ncompiler.path.objdump.DARWIN.OVERWRITE: \ngobjdump\n\ncompiler.path.objsize.DARWIN.OVERWRITE: \nobjsize\n\ncompiler.path.objcopy.DARWIN.OVERWRITE: \ngobjcopy\n\n\n\n\n\n\nwith the following:\n\n\ncompiler.path.cc.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-6\n\ncompiler.path.as.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-6 
 -x assembler-with-cpp\u201d\n\n\n\n\n\n\n\nIn case you wish to use Clang, you can change your \nmynewt-src-directory\n/repos/apache-mynewt-core/compiler/sim/compiler.yml\n to use Clang. Delete the gcc-5 DARWIN.OVERWRITE lines highlighted below.\n\n\n# OS X.\n\ncompiler.path.cc.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-5\n\n\ncompiler.path.as.DARWIN.OVERWRITE: \n/usr/local/bin/gcc-5 -x assembler-with-cpp\n\n\ncompiler.path.objdump.DARWIN.OVERWRITE: \ngobjdump\n\ncompiler.path.objsize.DARWIN.OVERWRITE: \nobjsize\n\ncompiler.path.objcopy.DARWIN.OVERWRITE: \ngobjcopy\n\n\n\n\n\n\nNote:\n Both the newer gcc 6.x and Clang report a few warnings but they can be ignored.\n\n\n\n\nInstall gdb\n\n\n$ brew install gdb\n...\n...\n==\n Summary\n\ud83c\udf7a  /usr/local/Cellar/gdb/7.10.1: XXX files,YYM\n\n\n\n\n\n\n\nNOTE:\n When running a program with gdb, you may need to sign your gdb\nexecutable.  \nThis page\n\nshows a recipe for gdb signing. Alternately you can skip this step and\ncontinue witho
 ut the ability to debug your mynewt application on your PC.*\n\n\n\n\nSet up toolchain for Linux\n\n\nThe below procedure can be used to set up a Debian-based Linux system (e.g.,\nUbuntu).  If you are running a different Linux distribution, you will need to\nsubstitute invocations of \napt-get\n in the below steps with the package manager\nthat your distro uses.\n\n\n\n\nInstall gcc/libc that will produce 32-bit executables:\n\n\n$ sudo apt-get install gcc-multilib libc6-i386\n\n\n\n\n\n\n\nInstall gdb\n\n\n$ sudo apt-get install gdb\n\nReading package lists... Done\nBuilding dependency tree       \nReading state information... Done\nSuggested packages:\n  gdb-doc gdbserver\nThe following NEW packages will be installed:\n  gdb\n...\nProcessing triggers for man-db (2.6.7.1-1ubuntu1) ...\nSetting up gdb (7.7.1-0ubuntu5~14.04.2) ...\n\n\n\n\n\n\n\nAt this point you have installed all the necessary software to build and test code on a simluator running on your Mac or Linux. Proceed to t
 he \nCreate Your First Project\n section.", 
             "title": "toc"
         }, 
         {
@@ -202,7 +202,7 @@
         }, 
         {
             "location": "/os/get_started/native_tools/#install-gcclibc", 
-            "text": "OS X ships with a C compiler called Clang.  To build applications for the Mynewt simulator, you will need a different compiler: gcc.  $ brew install gcc\n...\n...\n==  Summary\n\ud83c\udf7a  /usr/local/Cellar/gcc/5.2.0: 1353 files, 248M", 
+            "text": "OS X ships with a C compiler called Clang.  To build applications for the Mynewt simulator with, a different compiler is used as default: gcc.  $ brew install gcc\n...\n...\n==  Summary\n\ud83c\udf7a  /usr/local/Cellar/gcc/5.2.0: 1353 files, 248M   Check the gcc version you have installed (either using brew or previously installed). If the gcc version is 6.1 rather the expected 5.x by the default .yml configuration file, you have to modify the  mynewt-src-directory /repos/apache-mynewt-core/compiler/sim/compiler.yml  file to change the default  gcc v-5  defined there.  Replace the lines shown highlighted below:  # OS X. compiler.path.cc.DARWIN.OVERWRITE:  /usr/local/bin/gcc-5  compiler.path.as.DARWIN.OVERWRITE:  /usr/local/bin/gcc-5 -x assembler-with-cpp  compiler.path.objdump.DARWIN.OVERWRITE:  gobjdump \ncompiler.path.objsize.DARWIN.OVERWRITE:  objsize \ncompiler.path.objcopy.DARWIN.OVERWRITE:  gobjcopy   with the following:  compiler.path.cc.DARWIN.OVERWRITE:
   /usr/local/bin/gcc-6 \ncompiler.path.as.DARWIN.OVERWRITE:  /usr/local/bin/gcc-6 -x assembler-with-cpp\u201d   In case you wish to use Clang, you can change your  mynewt-src-directory /repos/apache-mynewt-core/compiler/sim/compiler.yml  to use Clang. Delete the gcc-5 DARWIN.OVERWRITE lines highlighted below.  # OS X. compiler.path.cc.DARWIN.OVERWRITE:  /usr/local/bin/gcc-5  compiler.path.as.DARWIN.OVERWRITE:  /usr/local/bin/gcc-5 -x assembler-with-cpp  compiler.path.objdump.DARWIN.OVERWRITE:  gobjdump \ncompiler.path.objsize.DARWIN.OVERWRITE:  objsize \ncompiler.path.objcopy.DARWIN.OVERWRITE:  gobjcopy   Note:  Both the newer gcc 6.x and Clang report a few warnings but they can be ignored.", 
             "title": "Install gcc/libc"
         }, 
         {

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8c971757/v0_9_0/os/get_started/native_tools/index.html
----------------------------------------------------------------------
diff --git a/v0_9_0/os/get_started/native_tools/index.html b/v0_9_0/os/get_started/native_tools/index.html
index b791e0c..1017118 100644
--- a/v0_9_0/os/get_started/native_tools/index.html
+++ b/v0_9_0/os/get_started/native_tools/index.html
@@ -373,7 +373,7 @@
 newt tutorials pages, install it. 


Install gcc/libc

-

OS X ships with a C compiler called Clang. To build applications for the Mynewt simulator, you will need a different compiler: gcc.

+

OS X ships with a C compiler called Clang. To build applications for the Mynewt simulator with, a different compiler is used as default: gcc.

$ brew install gcc
 ...
 ...
@@ -383,6 +383,36 @@
 
 
 


+

Check the gcc version you have installed (either using brew or previously installed). If the gcc version is 6.1 rather the expected 5.x by the default .yml configuration file, you have to modify the <mynewt-src-directory>/repos/apache-mynewt-core/compiler/sim/compiler.yml file to change the default gcc v-5 defined there.

+

Replace the lines shown highlighted below:

+
# OS X.
+compiler.path.cc.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5"
+compiler.path.as.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5 -x assembler-with-cpp"
+compiler.path.objdump.DARWIN.OVERWRITE: "gobjdump"
+compiler.path.objsize.DARWIN.OVERWRITE: "objsize"
+compiler.path.objcopy.DARWIN.OVERWRITE: "gobjcopy"
+
+ + +

with the following:

+
compiler.path.cc.DARWIN.OVERWRITE: "/usr/local/bin/gcc-6"
+compiler.path.as.DARWIN.OVERWRITE: "/usr/local/bin/gcc-6 -x assembler-with-cpp”
+
+ + +


+

In case you wish to use Clang, you can change your <mynewt-src-directory>/repos/apache-mynewt-core/compiler/sim/compiler.yml to use Clang. Delete the gcc-5 DARWIN.OVERWRITE lines highlighted below.

+
# OS X.
+compiler.path.cc.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5"
+compiler.path.as.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5 -x assembler-with-cpp"
+compiler.path.objdump.DARWIN.OVERWRITE: "gobjdump"
+compiler.path.objsize.DARWIN.OVERWRITE: "objsize"
+compiler.path.objcopy.DARWIN.OVERWRITE: "gobjcopy"
+
+ + +

Note: Both the newer gcc 6.x and Clang report a few warnings but they can be ignored.

+


Install gdb

$ brew install gdb
 ...

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8c971757/v0_9_0/sitemap.xml
----------------------------------------------------------------------
diff --git a/v0_9_0/sitemap.xml b/v0_9_0/sitemap.xml
index 16b74fd..82db895 100644
--- a/v0_9_0/sitemap.xml
+++ b/v0_9_0/sitemap.xml
@@ -4,7 +4,7 @@
     
     
      http://mynewt.apache.org/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -12,7 +12,7 @@
     
     
      http://mynewt.apache.org/quick-start/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -20,7 +20,7 @@
     
     
      http://mynewt.apache.org/about/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -28,7 +28,7 @@
     
     
      http://mynewt.apache.org/download/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -36,7 +36,7 @@
     
     
      http://mynewt.apache.org/community/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -44,7 +44,7 @@
     
     
      http://mynewt.apache.org/events/
-     2016-08-09
+     2016-08-22
      daily
     
     
@@ -53,7 +53,7 @@
         
     
      http://mynewt.apache.org/os/introduction/
-     2016-08-09
+     2016-08-22
      daily
     
         
@@ -65,7 +65,7 @@
         
     
      http://mynewt.apache.org/os/get_started/vocabulary/
-     2016-08-09
+     2016-08-22
      daily
     
         
@@ -105,13 +105,13 @@
         
     
      http://mynewt.apache.org/faq/how_to_edit_docs/
-     2016-08-09
+     2016-08-22
      daily
     
         
     
      http://mynewt.apache.org/faq/answers/
-     2016-08-09
+     2016-08-22
      daily