Compiler Considerations for CompSci 165
- Be aware that using an ANSI compliant compiler
that has the standard libraries is a necessity
- Many such compilers are available,
including gcc which is available on all ICS machines
- I enjoyed using the djgpp command line environment for the PC (XP and 32-bit Windows 7)
- After getting 64-bit Windows 10, I enjoy using the MinGW command line environment
- However, note that MinGW does not have all of the timing include files
(although there is a way to fix that)
- Some people enjoy using the Code::Blocks IDE
- But others have said that they had compilation problems using it
- It seems to be missing some library functions and/or include files needed for timing
- The Microsoft compilers that I have seen do not use the standard libraries
- This page
has Microsoft's suggestions on how to write code that works in the
largest number of C compilers (i.e., portable code)
Last modified: Feb 23, 2018