'vscode terminal and iterm has different behaviour in GCC -v
When I execute the same command "gcc -v", the output is different. For the iterm2, the output for Target is x86_64-apple-darwin21.3.0. However, for the terminal in vscode, the output is arm64-apple-darwin21.3.0. It seems that I can not edit it and I don't know why they are different. My guess is that, the iterm2 is Universal and the vscode is Apple Silicon. But, I check paths for gcc, they are same for two terminals. I just want to know, how does gcc get the Target information make their output different.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
