C language and RubyInstaller with system variables for windows

0

I am a Linux user. However I do not need to depend on a single operating system environment to perform C routines, much less still depend on IDE for certain tasks. On Linux (most of the distros I've worked with), the gcc compiler is already installed and can be accessed directly from bash. On windows we have to configure system variables.

Looking at the internet, we're taught to set it up like this:

  
  • Configure a user variable with uppercase letters with the path of the binary. In my case: Variable name: MINGW Path of   variable:   C: \ MinGW \ bin \   
  •   
  • Confirmwithok,andcheckifthenewpathisincludedinthesystemvariable"path".
  •   
  • Test the new path, or calling the binary, or listing the variables with the echo command.
  •   

    As expected ... none of this worked!

    It is very probable that some human error is happening on my part.

    Given the above problem, the following issues arise:

  • Is there a way to run GCC from the windows prompt without to worry about system variables, and without IDE? Some version of I've tried gitbash, and have not tried it. does.)
  • The same problem can be found when installing jekyllrb on Windows, since it uses RubyInstaller, which I also could not configure system variable. Is it the same problem?
  •   

    NOTE: There is a whole discussion about what types of topics   considered programming topics. In my interpretation,   C code with GCC / MingW at the Windows prompt is a topic on   programming, even though there is Windows in the topic, representing a    AND circuit between the two topics ( programming and Windows ) in   topic only), not logical circuit OR (programming or   Windows in the topic only). Even then, there may be   interpreting that running C routines at the Windows prompt does not   be a subject on programming in other interpretations. If this   be the case, I would ask you to consider allowing the answer, given the   of people who have the same problem, and only StackOverflow   usually has the quality of answers for such matters. In   I then see no problem in marking the topic with the   the community considers fair. already given the answer.

        
    asked by anonymous 21.06.2018 / 15:17

    0 answers