Is it possible to set up a pure In this way, I can keep my OS clean and keep all my development tools in one place. This is probably a very bad idea, it would be hard to do, many open source packages that use AutoConf They will be very confused, you will not be able to use homebrew / macports / funk etc. And the final result will hardly be "vanilla"; It will be different from every other Mac development system in the world, and if you ever need it, it is very difficult to restore from scratch. Besides, if you build GCC stock instead of apple-patch GCC, then you have There will be no Apple extension (e.g., You can get some of these problems by copying at least one Xcode SDK on your system, and always install your environment to use your SDK. But some of them, there is no way around (for example, if you do so many configured scripts will be confusing, but obviously the -arch will not correct the flag.) So, I strongly suggest installing Xcode, or at least installing but what you want to do is possible. First of all, some binary is built in it around GCC, like this is probably the easiest way to go and, once you have got a compiler, if it is not what you want , Then you can actually use it to compile it. Alternatively, you can install only the command line tools that you want to create GCC, then uninstall the command line tool. Or you can install command line tools on the other mac, you can use it to create GCC, and copy it. (You can also build a build with a homebro, and simply copy / usr / local / cellar / gcc and set up the symlink.) If you really have pain If you like, you can compile the GCC from a completely different forum. GCC with header files on a OS X lion in a separate folder? possible? --arch flag).
Comments
Post a Comment