Finding compiler options for Development
Submitted by Community Manager on Mon, 04/07/2008 - 06:12.
Tagged with General
Printer-friendly version
There is a way to get a full list of all options available for the Compiler, Assembler and Linker and save it for future reference. There are two options that are used. These options are -v and –help. For example to get the options using gcc do the following: gcc -v –help > compile-options.txt 2>&1 This will create the list in the file compile-options.txt. Any editor can then be used to look at the file.
(2 votes)


