Skip to content

mac OS Install commands - old path and missing sudo #9

Open

Description

@gramss

hi,

I did your tutorial for macOS on 10.12.3 from here https://gnuarmeclipse.github.io/toolchain/install/#macos

the tar command and chmod both needs a sudo in front. Maybe on older versions the shell might kept sudo rights? And the test command is linking to the old version ->2014 in the path name.

Thanks for the great write up! :) 👍

Activity

  1. ilg-ul commented on Apr 9, 2017

    @ilg-ul
    Member

    can you be more specific on the folder used and the exact commands? writing to the ${HOME}/opt folder should not require sudo.

  2. gramss commented on Apr 9, 2017

    @gramss
    Author

    the old command is

    ${HOME}/opt/gcc-arm-none-eabi-4_8-2014q1/bin/arm-none-eabi-gcc --version
                                  ^^^^^^^^^^
    

    should be:

    ${HOME}/opt/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc --version
                                  ^^^^^^^^^^^^^^^^
    

    it was maybe only touched at the first init of this page?

    I did the tar without sudo in first place but it was giving me an error for every file I wanted to extract.
    So I killed the process and looked int the opt folder which was empty. With sudo everything worked.

    one error line out of thousands:

    gcc-arm-none-eabi-6-2017-q1-update/share/doc/gcc-arm-none-eabi/html/gdb/GDB_002fMI-Output-Syntax.html: Failed to create dir 'gcc-arm-none-eabi-6-2017-q1-update'Can't create 'gcc-arm-none-eabi-6-2017-q1-update/share/doc/gcc-arm-none-eabi/html/gdb/GDB_002fMI-Output-Syntax.html'
    
  3. gramss commented on Apr 9, 2017

    @gramss
    Author

    sorry the spaces in front of my ^^^^ were optimized ....
    It's about the release name of the packages

  4. ilg-ul commented on Apr 9, 2017

    @ilg-ul
    Member

    (for formatting, you should use code sections; I fixed your post)

    as for the page, right, the instructions were wrong, the first mkdir should not use sudo at all; I updated the page, please check if it is ok now, preferably by renaming the toolchain folder and re-issuing the commands again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions