Installing GCC on macOS Catalina

Probably not the elegant answer, but it worked. I was able to find the header files needed using $(xcrun –show-sdk-path) I then copied them all to /usr/local where the gcc location was expecting them to be. Now all works.

Shared folder between MacOSX and Windows on Virtual Box

Edit 4+ years later after the original reply in 2015, virtualbox.org now offers an official user manual in both html and pdf formats, which effectively deprecates the previous version of this answer: Step 3 (Guest Additions) mentioned in this response as well as several others, is discussed in great detail in manual sections 4.1 and 4.2 Step 1 (Shared Folders Setting in … Read more

How can I Remove .DS_Store files from a Git repository?

Remove existing files from the repository: Add this line: to the file .gitignore, which can be found at the top level of your repository (or create the file if it isn’t there already). You can do this easily with this command in the top directory: Then commit the file to the repo:

What is the “Illegal Instruction: 4” error and why does “-mmacosx-version-min=10.x” fix it?

From the Apple Developer Forum (account required): “The compiler and linker are capable of using features and performing optimizations that do not work on older OS versions. -mmacosx-version-min tells the tools what OS versions you need to work with, so the tools can disable optimizations that won’t run on those OS versions. If you need to run on older … Read more

mvn command not found in OSX Mavrerick

Try following these if these might help: Since your installation works on the terminal you installed, all the exports you did, work on the current bash and its child process. but is not spawned to new terminals. env variables are lost if the session is closed; using .bash_profile, you can make it available in all sessions, since when a bash session starts, it … Read more

“code .” Not working in Command Line for Visual Studio Code on OSX/Mac

1. Make sure you drag Visual Studio Code app into the -Applications- folder Otherwise (as noted in the comments) you’ll have to go through this process again after reboot 2. Next, open Visual Studio Code Open the Command Palette via (⇧⌘P) and type shell command to find the Shell Command: Update: use Uninstall ‘code’ command in PATH** command before > Install … Read more

Installing cgdb on a mac os x

Неу, yeah, the git source for cgdb doesn’t come with the configure script pre-built. (The official release distributions do, however.) If you have the right tools installed, you can fix this by running: This will generate the configure script, and then you can install it as you would any other autoconf-based source package.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)