About 4,770,000 results
Open links in new tab
  1. gcc - Determining C executable name - Stack Overflow

    Mar 17, 2009 · step 1:-Run the gcc (or the compiler you have) in the below format on the Terminal. gcc -o put_your_name_you_want_to_give (space) your_file_name_you_want_to_execute NB:- If you are Running "Vs Code" Use the 'Tab' key for the Auto completion. step 2:-Write down the name of the program in format.\the_name_you_have_given.exe you are done!

  2. Using GCC with MinGW - Visual Studio Code

    When you make changes here, VS Code writes them to a file called c_cpp_properties.json in the .vscode folder. Here, we've changed the Configuration name to GCC, set the Compiler path dropdown to the g++ compiler, and the IntelliSense mode to match the compiler (gcc-x64). Visual Studio Code places these settings in .vscode\c_cpp_properties.json ...

  3. Set C++ Compiler and Build Properties in Visual Studio

    Mar 19, 2025 · In the Visual Studio IDE, you can view and edit the properties needed to compile and build a project. This information includes the application name, extension (such as DLL, LIB, EXE), compiler options, linker options, debugger settings, and custom build steps. You can view and modify these properties by using property pages.

  4. Configure VS Code for Microsoft C++ - Visual Studio Code

    VS Code is now configured to use the Microsoft C++ compiler. The configuration applies to the current workspace. To reuse the configuration, just copy the JSON files to a .vscode folder in a new project folder (workspace) and change the names of the source file(s) and executable as needed. Run VS Code outside the Developer Command Prompt. In ...

  5. How to rename EXE output file, product name etc?

    Sep 7, 2023 · I've tried to change it as follows but the settings are not applied. I'm using Visual Studio 2022. For the EXE file: For the product name & original filename, i changed it in the VS_VERSION_INFO. The TargetName in the VSXPROX file is right but without success.

  6. Why gcc compiler giving the complied file a new name?

    Jan 3, 2023 · gcc names its output files, in the absence of other instructions, a.out or a.exe depending on system environment because that is what it's supposed to do. To override this default behavior, you can use the -o flag which tells gcc that the next argument is the desired name for the output file.

  7. Changing C++ compiler version on VS Code - Stack Overflow

    Jan 28, 2023 · I ran a check compiler program and found out the compiler's version is C++98. I want to change to a more recent version which supports the newer features. That said, how exactly do I change a compiler version, and which one do you recommend?

  8. g++ - Can I configure gcc to always output to the code file's name ...

    May 14, 2016 · By default, when running gcc test.c, gcc will output the executable as a.exe. Is there a way to globally override this so that gcc will create test.exe? This assumes that there's only one input file - otherwise gcc can choose to use a.exe, or perhaps to use the first file's name.

  9. How to Compile a C Program Using the GNU Compiler (GCC) - wikiHow

    Feb 8, 2025 · Type gcc source_file.c -o program_name and press Enter to compile your source code. Replace source_file with the name of your source code file, and program_name with the name you'd like to give your compiled program.

  10. c++ - How to use GCC compiler in Visual Studio - Super User

    Sep 11, 2020 · According to https://devblogs.microsoft.com/cppblog/use-any-c-compiler-with-visual-studio/ I can go to Project -> General -> Platform Toolset and select the compiler from there. The only options are Visual Studio 2019 (v142) and Visual Studio 2017 (v141) - I don't see the GCC compiler.

  11. Some results have been removed
Refresh