This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

On setting up linux VS code showing error in running command " make gcc gcc-multilib g++-multilib libsdl2-dev"

when I am trying to setup linux with this link  https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/nrf/gs_installing.html#install-the-toolchain    

On typing this command in terminal  "make gcc gcc-multilib g++-multilib libsdl2-dev"   ,    I get an error of "make: *** No rule to make target 'gcc'. Stop."

                                                                     

Please suggest me the correct way to do 

Parents
  • Hi Sachinrawat,

    Thank you for checking that package gcc-multilib is installed.  My apologies, on review I see your command is a direct call to `gcc`.  What I needed to do is take a step back and ask, what are trying to compile when you enter "make gcc gcc-multilib g++-multilib libsdl2-dev" at the terminal?

    Are there instructions guiding you to issue this command?  The command does not make sense to me, because both `make` and `gcc` are programmers' tools (compile and software project related tools).  The remaining arguments in your command are libraries and header file collection, in this case in the form of Debian packages.  And it looks like at least one of those library .deb packages is installed and at latest version.

    I think before anyone can answer your question here, we need to better understand your specific goal.  You mention "On setting up Linux".  That's very vague.  You already have a largely installed Linux system, given that you can execute "sudo apt-get install -y gcc-multilib" and see the sensible response your host returns.

    Kindly share the URL or document name, if there is one, that's telling you to run this gcc command.

    - Ted

Reply
  • Hi Sachinrawat,

    Thank you for checking that package gcc-multilib is installed.  My apologies, on review I see your command is a direct call to `gcc`.  What I needed to do is take a step back and ask, what are trying to compile when you enter "make gcc gcc-multilib g++-multilib libsdl2-dev" at the terminal?

    Are there instructions guiding you to issue this command?  The command does not make sense to me, because both `make` and `gcc` are programmers' tools (compile and software project related tools).  The remaining arguments in your command are libraries and header file collection, in this case in the form of Debian packages.  And it looks like at least one of those library .deb packages is installed and at latest version.

    I think before anyone can answer your question here, we need to better understand your specific goal.  You mention "On setting up Linux".  That's very vague.  You already have a largely installed Linux system, given that you can execute "sudo apt-get install -y gcc-multilib" and see the sensible response your host returns.

    Kindly share the URL or document name, if there is one, that's telling you to run this gcc command.

    - Ted

Children
No Data
Related