Environment Variables in Linux

This is probably a noobish question, but I'm not in a position to test it myself as my Ubuntu installation is broken and I don't have the time to install another right now.

Basically, I'm trying to write a generic set of instructions for building SFML. On Windows, you have to set environment variables for CMake and MinGW-Make. On Linux OSs, having installed GCC and CMake, is there any need to to add their binary directories to some kind of %PATH% variable in order to allow them to be invoked on the command line without full file path qualification?

Thanks
-Xander
By default, these sort of programs are put in directories already in PATH.
Okay great. I was hoping that would be the case. Thanks.
Actually, I'll briefly revive this thread if that's okay. Would you happen to know the situation for MacOS? I don't even know the name of the make utility on there. Can you just use GCC and Make as under Linux?
closed account (iw0XoG1T)
There are downloads available for GNU Compiler Collection (GCC) for Mac and GNU Make for Mac. So I would guess the answer is yes.
Can you just use GCC and Make as under Linux?
GNU Make works the same across all Unices. It'd be strange if you could use GNU Make on Windows and not on MacOS.
What I meant is that on MacOS, must you add the install directory to a %PATH% equivalent, or will it automatically be placed in a %PATH% directory as you said would happen on Linux.
Almost certainly, yes.
Thanks again.

EDIT: So it's just Windows which makes a mess of things XD
Last edited on
Topic archived. No new replies allowed.